@emmanuel312/react-native-statusbar
v1.1.1
Published
A react native statusbar component that works on android and iOS
Downloads
3
Maintainers
Readme
React Native StatusBar
This library is a StatusBar React Native wrapper that allows you to use a backgroundColor on Android and iOS(not possible without this library).
Usage
import React from "react";
import StatusBar from "@emmanuel312/react-native-statusbar";
export default function App() {
return (
<StatusBar backgroundColor="#000" barStyle="light-content" />
);
}
Installing
yarn add @emmanuel312/react-native-statusbar
All StatusBar properties are compatible
https://reactnative.dev/docs/statusbar