-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
34 lines (30 loc) · 917 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
33
34
import 'react-native-gesture-handler';
import { StatusBar } from 'expo-status-bar';
import { StyleSheet, SafeAreaView, } from 'react-native';
import { Provider } from 'react-redux';
import Navigation from './src/navigation/Navigation';
import { store } from './src/store/store';
import { FontProvider } from './src/context/fontContext';
import { AuthProvider } from './src/context/authContext';
import { ToastProvider } from './src/components/toast/useToast';
export default function App() {
return (
<SafeAreaView style={styles.container}>
<StatusBar style="black" />
<Provider store={store}>
<FontProvider>
<AuthProvider>
<ToastProvider>
<Navigation />
</ToastProvider>
</AuthProvider>
</FontProvider>
</Provider>
</SafeAreaView>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
},
});