1.0.1 • Published 7 years ago

magic-status-bar v1.0.1

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

Magic Status Bar

npm install --save magic-status-bar

Replaces the system status bar for preparation for App/Play Store screenshots. Sets signal to five bars, full wifi, 9:41 on iOS, 12:00 on Android.

Wrap your root component in MagicStatusBar. Props accepted mimick the props for React Native's StatusBar component.

<MagicStatusBar>
  <YourRootView />
</MagicStatusBar>
PropDefaultValuesDescription
backgroundColortransparent (iOS), black (Android)Any colourSets the background colour of the status bar
translucenttrue (iOS), false (Android)true/falseWhen true, the status bar will overlap views. When false, it will move child views down.
barStyle (iOS)default (light-content)default, light-content, dark-contentColour of status bar icons (see StatusBar)

Todo

  • Allow customising time, icons

1 https://facebook.github.io/react-native/docs/statusbar.html