-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
35 lines (30 loc) · 953 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
35
import { AppRegistry } from "react-native"
import { name as appName } from "./app.json"
import "react-native-gesture-handler"
import { Provider } from "react-redux"
import { PersistGate } from "redux-persist/lib/integration/react"
import { NavigationContainer } from "@react-navigation/native"
import { store, persistor } from "./src/store"
import MainStack from "./src/stacks/MainStack"
import { StatusBar } from "expo-status-bar"
import { TourGuideProvider } from "rn-tourguide"
AppRegistry.registerComponent(appName, () => App)
export default () => {
return (
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
<NavigationContainer>
<TourGuideProvider
androidStatusBarVisible={true}
labels={{
finish: "Ok",
}}
preventOutsideInteraction={true}>
<StatusBar />
<MainStack />
</TourGuideProvider>
</NavigationContainer>
</PersistGate>
</Provider>
)
}