Created
November 13, 2019 05:16
-
-
Save aravi365/801dfdd0fa825a5657ea07c26139788a 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 {createStackNavigator} from 'react-navigation-stack'; | |
import {createAppContainer} from 'react-navigation'; | |
import SplashPage from './src/containers/SplashPage'; | |
import SignUp from './src/containers/Signup'; | |
import Login from './src/containers/Login'; | |
import Home from './src/containers/Home'; | |
const App = createStackNavigator( | |
{ | |
SplashPage: { | |
screen: SplashPage, | |
navigationOptions: { | |
header: null, | |
}, | |
}, | |
SignUp: { | |
screen: SignUp, | |
navigationOptions: { | |
header: null, | |
}, | |
}, | |
Login: { | |
screen: Login, | |
navigationOptions: { | |
header: null, | |
}, | |
}, | |
Home: { | |
screen: Home, | |
navigationOptions: { | |
header: null, | |
}, | |
}, | |
}, | |
{ | |
initialRouteName: 'SplashPage', | |
}, | |
); | |
export default createAppContainer(App); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment