Created
August 25, 2017 18:24
-
-
Save wviana/42ab291f6dbd1baeb5282057b2a3b4de to your computer and use it in GitHub Desktop.
This is how to configura react-navigator header title color.
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
const AppNavigator = StackNavigator({ | |
initialRouteName: { | |
screen: Login | |
}, | |
Dashboard: { | |
screen: Dashboard, | |
}, | |
}, { | |
navigationOptions: { | |
headerTitleStyle: { | |
color: 'white' | |
} | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment