Created
June 8, 2020 14:51
-
-
Save emanueleDiVizio/f00589174d65f4774fe5d748f9228a3c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import store from './reduxStore'; | |
import React from 'react'; | |
import { Provider } from 'react-redux'; | |
import { ReduxNetworkProvider } from 'react-native-offline'; | |
let App = () => ( | |
<Navigator> | |
<MainScreen /> | |
<OtherScreen /> | |
</Navigator> | |
); | |
const Root = () => ( | |
<Provider store={store}> | |
<ReduxNetworkProvider> | |
<App /> | |
</ReduxNetworkProvider> | |
</Provider> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment