Skip to content

Commit 986ced9

Browse files
committed
remove changes from native-stack files
1 parent b5e464e commit 986ced9

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

native-stack/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ Defaults to `false`.
503503

504504
#### `statusBarStyle`
505505

506-
Sets the status bar color (similar to the `StatusBar` component). On iOS, the possible values are: `auto` (based on [user interface style](https://developer.apple.com/documentation/uikit/uiuserinterfacestyle?language=objc)), `inverted` (colors opposite to `auto`), `light`, `dark`. On Android, the status bar will be dark if set to `dark` and `light` otherwise.
506+
Sets the status bar color (similar to the `StatusBar` component). On iOS, the possible values are: `auto` (based on [user interface style](https://developer.apple.com/documentation/uikit/uiuserinterfacestyle?language=objc), `inverted` (colors opposite to `auto`), `light`, `dark`. On Android, the status bar will be dark if set to `dark` and `light` otherwise.
507507

508508
Defaults to `auto`.
509509

src/native-stack/types.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -485,11 +485,7 @@ export type NativeStackNavigationOptions = {
485485
*/
486486
stackPresentation?: ScreenProps['stackPresentation'];
487487
/**
488-
* Sets the status bar animation (similar to the `StatusBar` component).
489-
* On Android, setting either `fade` or `slide` will set the transition of status bar color. On iOS, this option applies to appereance animation of the status bar.
490-
* Requires enabling (or deleting) `View controller-based status bar appearance` in your Info.plist file on iOS.
491-
*
492-
* Defaults to `fade` on iOS and `none` on Android.
488+
* Sets the status bar animation (similar to the `StatusBar` component). Requires enabling (or deleting) `View controller-based status bar appearance` in your Info.plist file on iOS.
493489
*/
494490
statusBarAnimation?: ScreenProps['statusBarAnimation'];
495491
/**
@@ -503,9 +499,7 @@ export type NativeStackNavigationOptions = {
503499
*/
504500
statusBarHidden?: boolean;
505501
/**
506-
* Sets the status bar color (similar to the `StatusBar` component). Requires enabling (or deleting) `View controller-based status bar appearance` in your Info.plist file on iOS.
507-
* `auto` and `inverted` are supported only on iOS. On Android, they will fallback to `light`.
508-
* Defaults to `auto` on iOS and `light` on Android.
502+
* Sets the status bar color (similar to the `StatusBar` component). Requires enabling (or deleting) `View controller-based status bar appearance` in your Info.plist file on iOS. Defaults to `auto`.
509503
*/
510504
statusBarStyle?: ScreenProps['statusBarStyle'];
511505
/**

0 commit comments

Comments
 (0)