Browse Source

Add index.js to help TypeScript

Mathieu Acthernoene 8 năm trước cách đây
mục cha
commit
1a3a7ad928
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  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'))