Преглед изворни кода

Add index.js to help TypeScript

Mathieu Acthernoene пре 8 година
родитељ
комит
1a3a7ad928
1 измењених фајлова са 7 додато и 0 уклоњено
  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'))