-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
29 lines (28 loc) · 943 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
import { StatusBar } from 'expo-status-bar';
import { NavigationContainer } from '@react-navigation/native';
import { SafeAreaProvider, SafeAreaView } from 'react-native-safe-area-context';
import { LogBox } from 'react-native';
import RootNavigator from './src/navigation/RootNavigator';
import { styles } from './src/styles/styles';
import { AppProvider } from './src/context/AppContext';
export default function App() {
LogBox.ignoreLogs([
'Animated: `useNativeDriver` was not specified.',
'Animated.event now requires a second argument for options',
]);
return (
<AppProvider>
<NavigationContainer>
<SafeAreaProvider>
<SafeAreaView
edges={['top', 'left']}
style={styles.container}
>
<RootNavigator />
<StatusBar style="light" />
</SafeAreaView>
</SafeAreaProvider>
</NavigationContainer>
</AppProvider>
);
}