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
|
|
9
|
export default function App() {
|
10
|
return (
|
11
|
<Provider store={ store }>
|
12
|
<PersistGate persistor={Persistor}>
|
13
|
<NativeBaseProvider theme={ nativeBaseTheme }>
|
14
|
<Navigation/>
|
15
|
</NativeBaseProvider>
|
16
|
</PersistGate>
|
17
|
</Provider>
|
18
|
)
|
19
|
}
|