A
A
Andrey Okhotnikov2020-03-16 17:00:11
React Native
Andrey Okhotnikov, 2020-03-16 17:00:11

Separate index files for IOS and ANDROID?

How to set up a project so that, for example, in the components folder there are index.ios.tsx and index.android.tsx files and they are automatically connected to the corresponding IOS

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nick, 2020-03-16
@DragonSpirit

They will be picked up anyway, you need to import without extension as indicated in the dock

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question