Refactor header, tintColor support, redesign iOS back button (#109)

This commit is contained in:
Mike Grabowski
2017-02-01 22:20:12 +01:00
committed by Satyajit Sahoo
parent 736d0db732
commit 7a20389e04
13 changed files with 172 additions and 97 deletions

View File

@@ -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: (