Skip to content

Instantly share code, notes, and snippets.

@wickstjo
Created March 30, 2019 06:50
Show Gist options
  • Save wickstjo/63da3fc2d3e009b59c89b0fe07b0715f to your computer and use it in GitHub Desktop.
Save wickstjo/63da3fc2d3e009b59c89b0fe07b0715f to your computer and use it in GitHub Desktop.
import ...
class App extends Component {
state = {
profiles: ['foo', 'bar', 'biz']
}
render() { return (
<AppContainer />
)}
}
const MainNavigator = createStackNavigator({
Home: {
screen: Home,
navigationOptions: {
header: null
}
},
Create: {
screen: Create,
navigationOptions: {
header: null
}
},
Profile: {
screen: Profile,
navigationOptions: {
header: null
}
}
});
const AppContainer = createAppContainer(MainNavigator);
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment