Module StatusBar-BsReactNative
let make: ?animated:bool => ?barStyle:[ `darkContent | `default | `lightContent ] => ?hidden:bool => ?backgroundColor:string => ?translucent:bool => ?networkActivityIndicatorVisible:bool => ?showHideTransition:[ `fade | `none | `slide ] => array(ReasonReact.reactElement) => ReasonReact.component(ReasonReact.stateless, ReasonReact.noRetainedProps, unit);Component to control the app status bar. You can read more on
StatusBarcomponent usage in official docs: https://facebook.github.io/react-native/docs/statusbarProps
animated
~animated: bool=?,barStyle
barStyle: [ | `darkContent | `default | `lightContent ]=?hidden
~hidden: bool=?backgroundColor
~backgroundColor: string=?translucent
~translucent: bool=?networkActivityIndicatorVisible
~networkActivityIndicatorVisible: bool=?showHideTransition
showHideTransition: [ | `fade | `none | `slide ]=?Methods
setHidden
Show or hide the status bar
let setHidden: bool => ?animation:[ `fade | `none | `slide ] => unit => unit;setBarStyle
Set the status bar style
let setBarStyle: [ `darkContent | `default | `lightContent ] => ?animated:bool => unit => unit;setNetworkActivityIndicatorVisible
Control the visibility of the network activity indicator
let setNetworkActivityIndicatorVisible: bool => unit;setBackgroundColor
Set the background color for the status bar