-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
32 lines (28 loc) · 813 Bytes
/
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
import { LogBox, StyleSheet, Text, View } from 'react-native';
import Navigation from './navigators/navigation';
import { StatusBar as ExpoStatusBar } from 'expo-status-bar';
import ContextProvider from './context/context-provider';
import { Provider } from 'react-redux';
import store from './store/store';
import Toast from 'react-native-toast-message';
LogBox.ignoreAllLogs(true);
function App() {
return (
<Provider store={store}>
<ContextProvider>
<View style={styles.container}>
<Navigation />
<Toast ref={(ref) => Toast.setRef(ref)} />
<ExpoStatusBar style='auto' />
</View>
</ContextProvider>
</Provider>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
},
});
export default App;