status bar react native code example
Example 1: hide status bar react native
<StatusBar hidden />
Example 2: react native status bar
<StatusBar animated={true} backgroundColor="#fff" barStyle="dark-content" />
Example 3: statusbar reactnati
<View>
<StatusBar backgroundColor="blue" barStyle="light-content" />
<View>
<StatusBar hidden={route.statusBarHidden} />
...
</View>
</View>