Skip to content

Instantly share code, notes, and snippets.

@AndreiCalazans
Created June 19, 2018 23:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndreiCalazans/8355ce7c58c9516fd1657e0b67f4fe36 to your computer and use it in GitHub Desktop.
Save AndreiCalazans/8355ce7c58c9516fd1657e0b67f4fe36 to your computer and use it in GitHub Desktop.
import { createStackNavigator } from 'react-navigation';
import Home from './Home';
import StoryBook from './StoryBook';
const navigationOptions = {
header: null,
};
const routes = {
HOME: {
screen: Home,
navigationOptions,
},
STORYBOOK: {
screen: StoryBook,
navigationOptions,
},
}
export default createStackNavigator(routes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment