Forráskód Böngészése

Add index.js to help TypeScript

Mathieu Acthernoene 8 éve
szülő
commit
1a3a7ad928
1 módosított fájl, 7 hozzáadás és 0 törlés
  1. 7 0
      index.js

+ 7 - 0
index.js

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