Created
June 4, 2019 22:48
-
-
Save Wellers0n/94cfe961e8ab23aa8c3f6902311a948e to your computer and use it in GitHub Desktop.
root
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 {createAppContainer, createStackNavigator} from 'react-navigation'; | |
import FunctionScreen, {navigationOptions} from './src/screen/Function' | |
import ClassScreen from './src/screen/Class' | |
const Root = createStackNavigator({ | |
ClassScreen: { | |
screen: ClassScreen | |
}, | |
FunctionScreen:{ | |
screen: FunctionScreen, | |
navigationOptions: navigationOptions | |
}, | |
}) | |
export default createAppContainer(Root) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment