Browse Source

Add index.js to help TypeScript

Mathieu Acthernoene 7 years ago
parent
commit
1a3a7ad928
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      index.js

+ 7
- 0
index.js View File

1
+// @flow
2
+
3
+import { Platform } from 'react-native'
4
+
5
+export default (Platform.OS === 'ios'
6
+  ? require('./index.ios')
7
+  : require('./index.android'))