Last active
May 1, 2020 14:46
-
-
Save AllGistsEqual/10bcbc145d907e3cca802a32ce5ce861 to your computer and use it in GitHub Desktop.
This file contains 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 React from 'react'; | |
import { StatusBar } from 'react-native' | |
import { Provider } from 'react-redux' | |
import { PersistGate } from 'redux-persist/integration/react' | |
import { enableScreens } from 'react-native-screens' | |
import store, { persistor } from './src/redux/store' | |
import Navigation from './src/navigation' | |
import SceneAppLoading from './src/scenes/auth/sceneAppLoading' | |
enableScreens() | |
export default function App() { | |
return ( | |
<Provider store={store}> | |
<PersistGate loading={<SceneAppLoading />} persistor={persistor}> | |
<StatusBar hidden /> | |
<Navigation /> | |
</PersistGate> | |
</Provider> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment