Created
July 1, 2018 23:56
-
-
Save FabricioFFC/23f1a3df72e722ddb3f5f091616a0f1d 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 { createStackNavigator } from 'react-navigation'; | |
import Home from './src/screens/Home'; | |
export default createStackNavigator( | |
{ | |
Home: { | |
screen: Home, | |
}, | |
}, | |
{ | |
initialRouteName: 'Home', | |
navigationOptions: { | |
title: 'Copa do Mundo 2018', | |
headerStyle: { | |
backgroundColor: '#D64545', | |
}, | |
headerTintColor: '#fff', | |
headerTitleStyle: { | |
fontWeight: 'bold', | |
}, | |
}, | |
}, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment