Skip to content

Commit ef05342

Browse files
LFsatya164
LF
authored andcommitted
Update native-stack-navigator.md (react-navigation#560)
Very minor change: Remove headerMode prop. Add headerShown to screenOptions.
1 parent 216e660 commit ef05342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/native-stack-navigator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ function App() {
221221
return (
222222
<Stack.Navigator
223223
initialRouteName="Home"
224-
headerMode="screen"
225224
screenOptions={{
225+
headerShown: false,
226226
headerTintColor: 'white',
227227
headerStyle: { backgroundColor: 'tomato' },
228228
}}

0 commit comments

Comments
 (0)