ソースを参照

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'))