Created
March 30, 2019 06:50
-
-
Save wickstjo/63da3fc2d3e009b59c89b0fe07b0715f 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 ... | |
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