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