diff --git a/guides/GUIDE_FOR_LIBRARY_AUTHORS.md b/guides/GUIDE_FOR_LIBRARY_AUTHORS.md index 1b9dac06be..66ae31cf43 100644 --- a/guides/GUIDE_FOR_LIBRARY_AUTHORS.md +++ b/guides/GUIDE_FOR_LIBRARY_AUTHORS.md @@ -289,7 +289,7 @@ Defaults to `false`. ### `statusBarStyle` -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, 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. +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, 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. Defaults to `auto`. diff --git a/src/types.tsx b/src/types.tsx index f1f9f63b30..fcb96141be 100644 --- a/src/types.tsx +++ b/src/types.tsx @@ -430,7 +430,11 @@ export interface ScreenProps extends ViewProps { */ stackPresentation?: StackPresentationTypes; /** - * 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. + * Sets the status bar animation (similar to the `StatusBar` component). + * 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. + * Requires enabling (or deleting) `View controller-based status bar appearance` in your Info.plist file on iOS. + * + * Defaults to `fade` on iOS and `none` on Android. */ statusBarAnimation?: 'none' | 'fade' | 'slide'; /** @@ -449,7 +453,9 @@ export interface ScreenProps extends ViewProps { */ statusBarHidden?: boolean; /** - * 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`. + * 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. + * `auto` and `inverted` are supported only on iOS. On Android, they will fallback to `light`. + * Defaults to `auto` on iOS and `light` on Android. */ statusBarStyle?: 'inverted' | 'auto' | 'light' | 'dark'; /**