瀏覽代碼

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