Created
July 2, 2018 00:17
-
-
Save FabricioFFC/208dd722ace5107ba2321c378184a687 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'; | |
import TeamDetails from './src/screens/TeamDetails'; | |
export default createStackNavigator( | |
{ | |
Home: { | |
screen: Home, | |
}, | |
TeamDetails: { | |
screen: TeamDetails, | |
}, | |
}, | |
{ | |
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