Jelajahi Sumber

Move the JS module to a subfolder

Mathieu Acthernoene 8 tahun lalu
induk
melakukan
d3b2991f68
3 mengubah file dengan 2 tambahan dan 5 penghapusan
  1. 2 5
      index.js
  2. 0 0
      lib/permissions.android.js
  3. 0 0
      lib/permissions.ios.js

+ 2 - 5
index.js

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

+ 0 - 0
index.android.js → lib/permissions.android.js


+ 0 - 0
index.ios.js → lib/permissions.ios.js