react-native-general-statusbar
v1.0.1
Published
General status bar color!
Downloads
20
Readme
react-native-general-statusbar
General StatusBar color for Android and IOS!
HOW TO INSTALL ?
npm i --save react-native-general-statusbar
HOW TO USE ?
import GeneralStatusBarColor from "react-native-general-statusbar";
function MyComponent() {
return (
<View>
<GeneralStatusBarColor
backgroundColor="#00AEEF"
barStyle="light-content"
/>
</View>
);
}
Reference
Props
backgroundColor
The background color of the status bar.
| Type | Required | | ---- | -------- | | color | No |
barStyle
Sets the color of the status bar text.
| Type | Required | | ---- | -------- | | enum('default', 'light-content', 'dark-content') | No |
LICENSE
MIT