feat: add info about version in statusbar types

This commit is contained in:
kacperkapusciak
2021-05-31 16:00:08 +02:00
parent 82cda8a95f
commit 32cbbef24c
4 changed files with 21 additions and 15 deletions

View File

@@ -345,10 +345,12 @@ export type NativeStackNavigationOptions = {
/**
* Sets the status bar animation (similar to the `StatusBar` component).
* Requires setting `View controller-based status bar appearance -> YES` (or removing the config) in your `Info.plist` file.
* On Android, requires `react-native-screens` version >=3.3.0.
*/
statusBarAnimation?: StatusBarAnimationTypes;
/**
* Sets the status bar color (similar to the `StatusBar` component). Defaults to initial status bar color.
* Requires `react-native-screens` version >=3.3.0.
*
* @platform android
*/
@@ -356,15 +358,19 @@ export type NativeStackNavigationOptions = {
/**
* Whether the status bar should be hidden on this screen.
* Requires setting `View controller-based status bar appearance -> YES` in your Info.plist file.
* On Android, requires `react-native-screens` version >=3.3.0.
*/
statusBarHidden?: boolean;
/**
* Sets the status bar color (similar to the `StatusBar` component).
* Requires setting `View controller-based status bar appearance -> YES` (or removing the config) in your `Info.plist` file.
* On Android, requires `react-native-screens` version >=3.3.0.
*/
statusBarStyle?: StatusBarStyleTypes;
/**
* Sets the translucency of the status bar. Defaults to `false`.
* Requires `react-native-screens` version >=3.3.0.
*
* @platform android
*/
statusBarTranslucent?: boolean;