-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
55 lines (49 loc) · 1.54 KB
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import React, { Component } from 'react';
import {
AppRegistry,
View,
StyleSheet,
} from 'react-native';
import SplashScreen from 'react-native-splash-screen'
import Root from './src/main';
// import MapView from 'react-native-maps';
// import Component1 from './src/components/Component1/Component1';
// import Component2 from './src/components/Component2/Component2';
// import Component3 from './src/components/Component3/Component3';
// import Component4 from './src/components/Component4/Component4';
// import Component5 from './src/components/Component5/Component5';
// import Component6 from './src/components/Component6/Component6';
// import Splash from './src/components/Splash/Splash';
// import Login from './src/components/Login/Login';
// import Map from './src/components/Map/Map';
// import BottomBannerAd from './src/components/BottomBannerAd/BottomBannerAd'
// import { Root, Tabs } from './src/config/router';
export default class myapp extends Component {
// {/*<View>*/}
// {/*/!*<Component1 />*!/*/}
// {/*/!*<Component2 />*!/*/}
// {/*/!*<Component3 />*!/*/}
// {/*/!*<Component4 />*!/*/}
// {/*/!*<Component5 />*!/*/}
// {/**/}
// {/*</View>*/}
componentDidMount() {
SplashScreen.hide();
}
render() {
return (
<View style={styles.container}>
<Root {...this.props}/>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
// justifyContent: 'center',
// alignItems: 'center',
// backgroundColor: '#F5FCFF',
}
});
AppRegistry.registerComponent('myapp', () => myapp);