forked from diegofino15/moyennesed-v4
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
29 lines (23 loc) · 727 Bytes
/
Copy pathApp.js
File metadata and controls
29 lines (23 loc) · 727 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
import * as SplashScreen from "expo-splash-screen";
import { GestureHandlerRootView } from "react-native-gesture-handler";
import { NavigationContainer } from "@react-navigation/native";
import { configureReanimatedLogger, ReanimatedLogLevel } from 'react-native-reanimated';
import AppRoot from "./src/ui/AppRoot";
// Keep SplashScreen
SplashScreen.preventAutoHideAsync();
// Disable strict logging for Reanimated
configureReanimatedLogger({
level: ReanimatedLogLevel.warn,
strict: false,
});
// Main app
function App() {
return (
<GestureHandlerRootView style={{ flex: 1 }}>
<NavigationContainer>
<AppRoot />
</NavigationContainer>
</GestureHandlerRootView>
);
}
export default App;