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