1
|
import 'react-native-gesture-handler'
|
2
|
import {NativeBaseProvider} from "native-base"
|
3
|
import {Provider} from "react-redux"
|
4
|
import {store, Persistor} from "./src/stores/store"
|
5
|
import Navigation from "./src/pages/Navigation"
|
6
|
import {nativeBaseTheme} from "./src/theme/nativeBaseTheme"
|
7
|
import {PersistGate} from 'redux-persist/integration/react'
|
8
|
import {StatusBar} from "react-native"
|
9
|
|
10
|
export default function App() {
|
11
|
return (
|
12
|
<Provider store={ store }>
|
13
|
<PersistGate persistor={ Persistor }>
|
14
|
<NativeBaseProvider theme={ nativeBaseTheme }>
|
15
|
<StatusBar barStyle="dark-content"/>
|
16
|
<Navigation/>
|
17
|
</NativeBaseProvider>
|
18
|
</PersistGate>
|
19
|
</Provider>
|
20
|
)
|
21
|
}
|