-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
22 lines (21 loc) · 720 Bytes
/
Copy pathApp.js
File metadata and controls
22 lines (21 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { StatusBar } from 'expo-status-bar';
import { SafeAreaProvider } from 'react-native-safe-area-context';
import { NavigationContainer } from '@react-navigation/native';
import { AuthProvider } from './src/context/AuthContext';
import { UiProvider } from './src/context/UiContext';
import AppNavigator from './src/navigation/AppNavigator';
import { navTheme } from './src/theme';
export default function App() {
return (
<SafeAreaProvider>
<AuthProvider>
<UiProvider>
<NavigationContainer theme={navTheme}>
<AppNavigator />
<StatusBar style="dark" />
</NavigationContainer>
</UiProvider>
</AuthProvider>
</SafeAreaProvider>
);
}