Skip to content

Instantly share code, notes, and snippets.

@astrotars
Created September 24, 2018 21:04
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 astrotars/8270593c70266153cc185e7bc7ad87c6 to your computer and use it in GitHub Desktop.
Save astrotars/8270593c70266153cc185e7bc7ad87c6 to your computer and use it in GitHub Desktop.
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