-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
32 lines (29 loc) · 864 Bytes
/
App.js
File metadata and controls
32 lines (29 loc) · 864 Bytes
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
import React from 'react';
import {Image, StyleSheet, View} from 'react-native';
import Home from './src/component/Home';
import SignIn from './src/component/SignIn';
import SignUp from './src/component/SignUp';
import {Provider} from 'react-redux';
import store from './src/store';
import {persistor} from './src/store';
import {PersistGate} from 'redux-persist/integration/react';
import MainNavigator from './src/config/navigation';
export default function App() {
return (
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
<View style={styles.container}>
<MainNavigator />
</View>
</PersistGate>
</Provider>
);
}
const styles = StyleSheet.create({
container: {
// alignItems: 'center',
// justifyContent: 'center',
backgroundColor: '#f5f5f5',
flex: 1,
},
});