Skip to content

Commit d80a359

Browse files
authored
Revert incorrect config change for createStackNavigator docs
1 parent 3c26ca7 commit d80a359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/stack-navigator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ createStackNavigator({
3131
// The action and route params are extracted from the path.
3232

3333
// Optional: Override the `navigationOptions` for the screen
34-
defaultNavigationOptions: ({ navigation }) => ({
34+
navigationOptions: ({ navigation }) => ({
3535
title: `${navigation.state.params.name}'s Profile'`,
3636
}),
3737
},

0 commit comments

Comments
 (0)