Skip to content

Commit 37bc66f

Browse files
committed
docs: add deprecation message to some status/navigation bar related props
1 parent fa78c92 commit 37bc66f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Diff for: versioned_docs/version-7.x/native-stack-navigator.md

+21
Original file line numberDiff line numberDiff line change
@@ -727,12 +727,26 @@ Only supported on Android and iOS.
727727

728728
#### `statusBarBackgroundColor`
729729

730+
:::warning
731+
732+
This option is deprecated and will be removed in a future release (for apps targeting Android SDK 35 or above edge-to-edge mode is enabled by default
733+
and it is expected that the edge-to-edge will be enforced in future SDKs, see: https://developer.android.com/about/versions/15/behavior-changes-15#ux).
734+
735+
:::
736+
730737
Sets the background color of the status bar (similar to the `StatusBar` component).
731738

732739
Only supported on Android.
733740

734741
#### `statusBarTranslucent`
735742

743+
:::warning
744+
745+
This option is deprecated and will be removed in a future release (for apps targeting Android SDK 35 or above edge-to-edge mode is enabled by default
746+
and it is expected that the edge-to-edge will be enforced in future SDKs, see: https://developer.android.com/about/versions/15/behavior-changes-15#ux).
747+
748+
:::
749+
736750
Sets the translucency of the status bar (similar to the `StatusBar` component). Defaults to `false`.
737751

738752
Only supported on Android.
@@ -1261,6 +1275,13 @@ Only supported on iOS.
12611275

12621276
#### `navigationBarColor`
12631277

1278+
:::warning
1279+
1280+
This option is deprecated and will be removed in a future release (for apps targeting Android SDK 35 or above edge-to-edge mode is enabled by default
1281+
and it is expected that the edge-to-edge will be enforced in future SDKs, see: https://developer.android.com/about/versions/15/behavior-changes-15#ux).
1282+
1283+
:::
1284+
12641285
Sets the navigation bar color. Defaults to initial status bar color.
12651286

12661287
Only supported on Android.

0 commit comments

Comments
 (0)