-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
34 lines (30 loc) · 851 Bytes
/
Copy pathApp.js
File metadata and controls
34 lines (30 loc) · 851 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
30
31
32
33
34
import "expo-dev-client";
import "react-native-gesture-handler";
import React, { useEffect } from "react";
import { StyleSheet, View, LogBox } from "react-native";
import { StatusBar } from "expo-status-bar";
import { Provider } from "react-redux";
import { store } from "./store";
import * as NavigationBar from "expo-navigation-bar";
import RootNavigation from "./src/navigation/RootNavigation";
LogBox.ignoreAllLogs();
function App() {
useEffect(() => {
NavigationBar.setBackgroundColorAsync("white");
}, []);
return (
<Provider store={store}>
<View style={styles.container}>
<RootNavigation />
<StatusBar style="auto" backgroundColor="transparent" />
</View>
</Provider>
);
}
export default App;
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "white"
}
});