1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- ---
- id: options-statusBar
- title: Status Bar Options
- sidebar_label: Status Bar
- ---
-
- ```js
- const options = {
- statusBar: {}
- };
- ```
-
- ### `visible`
-
- Set the status bar visibility.
-
- | Type | Required | Platform |
- | ------- | -------- | -------- |
- | boolean | No | Both |
-
- ### `style`
-
- Set the text color of the status bar.
-
- | Type | Required | Platform | Default |
- | --------------------- | -------- | -------- | ------- |
- | enum('light', 'dark') | No | Both | 'light' |
-
- ### `backgroundColor`
-
- Set the background color of the status bar.
-
- | Type | Required | Platform |
- | ----- | -------- | -------- |
- | Color | No | Android |
-
- ### `drawBehind`
-
- Draw screen behind the status bar.
-
- | Type | Required | Platform |
- | ----- | -------- | -------- |
- | boolean | No | Android |
|