import { StatusBar } from 'react-native'
<StatusBar backgroundColor="#FFF" style="dark-content" />
<StatusBar animated={true} backgroundColor="#fff" barStyle="dark-content" />
<View>
<StatusBar backgroundColor="blue" barStyle="light-content" />
<View>
<StatusBar hidden={route.statusBarHidden} />
...
</View>
</View>
adding following code to the root view tag of your component =>
paddingTop:StatusBar.currentHeight