mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Clarify JS documentation for StatusBar on Android 15+ (#52044)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52044 This clarifies that some props on `StatusBar` are not working on Android 15+ See https://github.com/facebook/react-native/issues/51928 Changelog: [Internal] [Changed] - Reviewed By: yungsters Differential Revision: D76734324 fbshipit-source-id: 88b6f30f63ca0e269d5115e69a8a2b0ca222c2f4
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f6b7bd93d8
commit
19fd1536a4
@@ -35,6 +35,8 @@ export interface StatusBarPropsAndroid {
|
||||
/**
|
||||
* The background color of the status bar.
|
||||
*
|
||||
* Please note that this prop has no effect on Android 15+
|
||||
*
|
||||
* @platform android
|
||||
*/
|
||||
backgroundColor?: ColorValue | undefined;
|
||||
@@ -44,6 +46,8 @@ export interface StatusBarPropsAndroid {
|
||||
* the app will draw under the status bar. This is useful when using a
|
||||
* semi transparent status bar color.
|
||||
*
|
||||
* Please note that this prop has no effect on Android 15+
|
||||
*
|
||||
* @platform android
|
||||
*/
|
||||
translucent?: boolean | undefined;
|
||||
|
||||
@@ -58,6 +58,9 @@ export type StatusBarAnimation = $Keys<{
|
||||
export type StatusBarPropsAndroid = $ReadOnly<{
|
||||
/**
|
||||
* The background color of the status bar.
|
||||
*
|
||||
* Please note that this prop has no effect on Android 15+
|
||||
*
|
||||
* @platform android
|
||||
*/
|
||||
backgroundColor?: ?ColorValue,
|
||||
@@ -66,6 +69,8 @@ export type StatusBarPropsAndroid = $ReadOnly<{
|
||||
* When translucent is set to true, the app will draw under the status bar.
|
||||
* This is useful when using a semi transparent status bar color.
|
||||
*
|
||||
* Please note that this prop has no effect on Android 15+
|
||||
*
|
||||
* @platform android
|
||||
*/
|
||||
translucent?: ?boolean,
|
||||
|
||||
Reference in New Issue
Block a user