1.0.1 • Published 5 years ago

react-native-general-statusbar v1.0.1

Weekly downloads
29
License
MIT
Repository
github
Last release
5 years ago

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.

TypeRequired
colorNo

barStyle

Sets the color of the status bar text.

TypeRequired
enum('default', 'light-content', 'dark-content')No

LICENSE

MIT