Created
October 22, 2019 10:47
-
-
Save mdshadman/46fc6293e6210319ce789293342e6f54 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 React, { Component } from 'react' | |
import { createStackNavigator } from 'react-navigation-stack' | |
import { createAppContainer } from 'react-navigation' | |
import Login from '../../App/Screens/Login/Login'; | |
import Home from '../../App/Screens/Home/Home'; | |
const StackNavigation = createStackNavigator({ | |
Login: { | |
screen: Login, | |
navigationOptions: { | |
header: null | |
} | |
}, | |
Home: { screen: Home } | |
}, { | |
initialRouteName: 'Login', | |
// headerMode: 'none' | |
}) | |
const StackNav = createAppContainer(StackNavigation); | |
export default StackNav; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment