-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
50 lines (42 loc) · 1.22 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
// import React, {Component} from 'react';
// import { StatusBar, StyleSheet, View } from 'react-native';
// import {createAppContainer} from 'react-navigation'
// // import AppNavigator from './src/routes'
// import Routes from './Routes'
// import MaterialIcons from 'react-native-vector-icons/MaterialIcons';
// import SplashScreen from 'react-native-splash-screen'
// // const AppIndex = createAppContainer(AppNavigator)
// const AppIndex = createAppContainer(Routes)
// export default class App extends Component {
// componentDidMount() {
// SplashScreen.hide();
// }
// render() {
// return (
// <View style={styles.wrapper}>
// <AppIndex />
// </View>
// )
// }
// }
// const styles = StyleSheet.create({
// wrapper: {
// flex: 1
// }
// })
import React, { Component } from 'react';
import { View, ScrollView } from 'react-native';
import { Provider } from 'react-redux';
import Router from './Router';
import store from './src/store/store'
// const AppIndex = createAppContainer(Routes)
class App extends Component {
render() {
return (
<Provider store={store}>
<Router />
</Provider >
);
};
}
export default App;