mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 22:39:41 +08:00
fix: native-stack statusbar types
This commit is contained in:
@@ -238,30 +238,29 @@ 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.
|
||||
*
|
||||
* Only supported on iOS.
|
||||
*
|
||||
* @platform ios
|
||||
*/
|
||||
statusBarAnimation?: ScreenStackHeaderConfigProps['statusBarAnimation'];
|
||||
/**
|
||||
* Sets the status bar color (similar to the `StatusBar` component). Defaults to initial status bar color.
|
||||
*
|
||||
* @platform android
|
||||
*/
|
||||
statusBarColor?: string;
|
||||
/**
|
||||
* Whether the status bar should be hidden on this screen.
|
||||
* Requires setting `View controller-based status bar appearance -> YES` in your Info.plist file.
|
||||
*
|
||||
* Only supported on iOS.
|
||||
*
|
||||
* @platform ios
|
||||
*/
|
||||
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.
|
||||
*
|
||||
* Only supported on iOS.
|
||||
*
|
||||
* @platform ios
|
||||
*/
|
||||
statusBarStyle?: ScreenStackHeaderConfigProps['statusBarStyle'];
|
||||
/**
|
||||
* Sets the translucency of the status bar. Defaults to `false`.
|
||||
* @platform android
|
||||
*/
|
||||
statusBarTranslucent?: boolean;
|
||||
/**
|
||||
* Style object for the scene content.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user