Skip to content

ayoubamine/react-native-general-statusbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

General status bar color!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published