Skip to content

Commit bf8fbea

Browse files
authored
Update statusbar.md
1 parent 5aaa9a1 commit bf8fbea

1 file changed

Lines changed: 0 additions & 65 deletions

File tree

docs/statusbar.md

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ const App = () => {
6161
<SafeAreaView style={styles.container}>
6262
<StatusBar
6363
animated={true}
64-
backgroundColor="#61dafb"
6564
barStyle={statusBarStyle}
6665
showHideTransition={statusBarTransition}
6766
hidden={hidden}
@@ -172,7 +171,6 @@ const App = () => {
172171
<SafeAreaView style={styles.container}>
173172
<StatusBar
174173
animated={true}
175-
backgroundColor="#61dafb"
176174
barStyle={statusBarStyle}
177175
showHideTransition={statusBarTransition}
178176
hidden={hidden}
@@ -283,16 +281,6 @@ If the status bar is hidden.
283281

284282
---
285283

286-
### `networkActivityIndicatorVisible` <div className="label ios">iOS</div>
287-
288-
If the network activity indicator should be visible.
289-
290-
| Type | Default |
291-
| ------- | ------- |
292-
| boolean | `false` |
293-
294-
---
295-
296284
### `showHideTransition` <div className="label ios">iOS</div>
297285

298286
The transition effect when showing and hiding the status bar using the `hidden` prop.
@@ -301,20 +289,6 @@ The transition effect when showing and hiding the status bar using the `hidden`
301289
| -------------------------------------------------- | -------- |
302290
| [StatusBarAnimation](statusbar#statusbaranimation) | `'fade'` |
303291

304-
---
305-
306-
### `translucent` <div className="label android">Android</div>
307-
308-
If the status bar is translucent. 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.
309-
310-
:::warning
311-
Due to edge-to-edge enforcement introduced in Android 15, setting the status bar as translucent is deprecated in API level 35 and setting it will have no effect. You can read more about our [edge-to-edge recommendations here](https://github.com/react-native-community/discussions-and-proposals/discussions/827).
312-
:::
313-
314-
| Type | Default |
315-
| ------- | ------- |
316-
| boolean | `false` |
317-
318292
## Methods
319293

320294
### `popStackEntry()`
@@ -369,27 +343,6 @@ Replace an existing StatusBar stack entry with new props.
369343

370344
---
371345

372-
### `setBackgroundColor()` <div className="label android">Android</div>
373-
374-
```tsx
375-
static setBackgroundColor(color: ColorValue, animated?: boolean);
376-
```
377-
378-
Set the background color for the status bar.
379-
380-
:::warning
381-
Due to edge-to-edge enforcement introduced in Android 15, setting background color of the status bar is deprecated in API level 35 and setting it will have no effect. You can read more about our [edge-to-edge recommendations here](https://github.com/react-native-community/discussions-and-proposals/discussions/827).
382-
:::
383-
384-
**Parameters:**
385-
386-
| Name | Type | Description |
387-
| ---------------------------------------------------------- | ------- | ------------------------- |
388-
| color <div className="label basic required">Required</div> | string | Background color. |
389-
| animated | boolean | Animate the style change. |
390-
391-
---
392-
393346
### `setBarStyle()`
394347

395348
```tsx
@@ -424,24 +377,6 @@ Show or hide the status bar.
424377

425378
---
426379

427-
### `setTranslucent()` <div className="label android">Android</div>
428-
429-
```tsx
430-
static setTranslucent(translucent: boolean);
431-
```
432-
433-
Control the translucency of the status bar.
434-
435-
:::warning
436-
Due to edge-to-edge enforcement introduced in Android 15, setting the status bar as translucent is deprecated in API level 35 and setting it will have no effect. You can read more about our [edge-to-edge recommendations here](https://github.com/react-native-community/discussions-and-proposals/discussions/827).
437-
:::
438-
439-
**Parameters:**
440-
441-
| Name | Type | Description |
442-
| ---------------------------------------------------------------- | ------- | ------------------- |
443-
| translucent <div className="label basic required">Required</div> | boolean | Set as translucent. |
444-
445380
## Type Definitions
446381

447382
### StatusBarAnimation

0 commit comments

Comments
 (0)