react-native-general-statusbar

1.0.1 • Public • Published

react-native-general-statusbar

npm package Supports Android and iOS MIT License code style: prettier

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

Readme

Keywords

Package Sidebar

Install

npm i react-native-general-statusbar

Weekly Downloads

12

Version

1.0.1

License

MIT

Unpacked Size

3.74 kB

Total Files

5

Last publish

Collaborators

  • ayoubamine