UNPKG

469 BJavaScriptView Raw
1
2import React from 'react'
3import { Platform, AppRegistry } from 'react-native'
4// import expo from 'expo'
5
6import App from './examples/default/index'
7
8
9// export default Example;
10
11
12if (process.env.NODE_ENV === 'development') {
13 // expo.KeepAwake.activate();
14}
15
16// expo.registerRootComponent(App);
17if (Platform.OS === 'web') {
18 AppRegistry.registerComponent('App', () => App);
19 AppRegistry.runApplication('App', {
20 rootTag: document.getElementById('root')
21 });
22}
\No newline at end of file