.Android or .iOS How i can use components in Typescript

Please provide the following:

  1. SDK Version: 35
  2. Platforms(Android/iOS/web/all):Android/iOS

How can I do a mycomponent.android or .ios import using typescript in react-native?

Example in JS
./MyComponent.android.js
./MyComponent.ios.js

import MyComponent from './MyComponent;

Use case in Typescript
./MyComponent.android.tsx
./MyComponent.ios.tsx

import MyComponent from './MyComponent;

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.