mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-29 04:45:19 +08:00
Refactor header, tintColor support, redesign iOS back button (#109)
This commit is contained in:
committed by
Satyajit Sahoo
parent
736d0db732
commit
7a20389e04
@@ -58,6 +58,7 @@ const MyProfileScreen = ({ navigation }) => (
|
||||
MyProfileScreen.navigationOptions = {
|
||||
header: ({ state, setParams }) => ({
|
||||
title: `${state.params.name}'s Profile!`,
|
||||
tintColor: '#007AFF',
|
||||
// Render a button on the right side of the header.
|
||||
// When pressed switches the screen to edit mode.
|
||||
right: (
|
||||
|
||||
Reference in New Issue
Block a user