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