Created
September 24, 2018 21:04
-
-
Save astrotars/8270593c70266153cc185e7bc7ad87c6 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, { Component } from 'react'; | |
import { createStackNavigator } from 'react-navigation'; | |
import browserPollyfill from 'react-native-browser-polyfill'; | |
import { Welcome, Feed } from './screens'; | |
const RootStack = createStackNavigator({ | |
Welcome: { | |
screen: Welcome, | |
navigationOptions: { | |
header: null | |
} | |
}, | |
Feed: { | |
screen: Feed, | |
navigationOptions: { | |
header: null | |
} | |
} | |
}); | |
export default class App extends Component { | |
render() { | |
return <RootStack />; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment