import status bar react native code example
Example 1: react native status bar
<StatusBar animated={true} backgroundColor="#fff" barStyle="dark-content" />
Example 2: how to render react native app under the status bar
adding following code to the root view tag of your component =>
paddingTop:StatusBar.currentHeight