From fe7e249d539a244b575020eb1491b679840fb865 Mon Sep 17 00:00:00 2001 From: Mihai Crisan <61682879+crisanmm@users.noreply.github.com> Date: Wed, 8 May 2024 16:52:27 +0300 Subject: [PATCH 1/2] Update screen-options.md --- versioned_docs/version-6.x/screen-options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioned_docs/version-6.x/screen-options.md b/versioned_docs/version-6.x/screen-options.md index 5fe11c40c4f..b9c8662ebfa 100644 --- a/versioned_docs/version-6.x/screen-options.md +++ b/versioned_docs/version-6.x/screen-options.md @@ -89,7 +89,7 @@ Similar to `options`, you can also pass a function to `screenOptions`. The funct ### `screenOptions` prop on the navigator -You can pass a prop named `screenOptions` to the navigator component, where you can specify an object with different options. The options specified in `screenOptions` apply to all of the screens in the navigator. So this is a good place to add specify options that you want to configure for the whole navigator. +You can pass a prop named `screenOptions` to the navigator component, where you can specify an object with different options. The options specified in `screenOptions` apply to all of the screens in the navigator. So this is a good place to specify options that you want to configure for the whole navigator. Example: From 7d39d683e0545c7df784020a9dd5475cb4ab9200 Mon Sep 17 00:00:00 2001 From: Mihai Crisan <61682879+crisanmm@users.noreply.github.com> Date: Wed, 8 May 2024 17:26:11 +0300 Subject: [PATCH 2/2] Update version-7.x/screen-options.md --- versioned_docs/version-7.x/screen-options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioned_docs/version-7.x/screen-options.md b/versioned_docs/version-7.x/screen-options.md index 0a76fe23409..998e78b9d99 100644 --- a/versioned_docs/version-7.x/screen-options.md +++ b/versioned_docs/version-7.x/screen-options.md @@ -357,7 +357,7 @@ const Stack = createNativeStackNavigator({ ### `screenOptions` prop on the navigator -You can pass a prop named `screenOptions` to the navigator component, where you can specify an object with different options. The options specified in `screenOptions` apply to all of the screens in the navigator. So this is a good place to add specify options that you want to configure for the whole navigator. +You can pass a prop named `screenOptions` to the navigator component, where you can specify an object with different options. The options specified in `screenOptions` apply to all of the screens in the navigator. So this is a good place to specify options that you want to configure for the whole navigator. Example: