-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
21 lines (19 loc) · 681 Bytes
/
App.js
File metadata and controls
21 lines (19 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import React, {Component} from 'react';
import {Provider} from 'react-redux'
import {PersistGate} from 'redux-persist/integration/react'
import {store, persistor} from './src/redux/store'
import {createReduxContainer} from 'react-navigation-redux-helpers'
import AppNavigation from './src/navigation/AppNavigation'
import ReduxNavigation from './src/redux/ReduxNavigation'
export const Nav = createReduxContainer(AppNavigation, 'root')
export default class App extends Component {
render() {
return(
<Provider store={store} >
<PersistGate loading={null} persistor={persistor} >
<ReduxNavigation/>
</PersistGate>
</Provider>
)
}
}