//Import StatusBar from React-native, not expo
//unless you will import it as something else
import {
StyleSheet,
Text,
View,
Dimensions,
StatusBar,
} from "react-native";
//You can display the height of the device StatusBar on your react-native app:
export default function App() {
return (
<View>
<Text>
{StatusBar.currentHeight}
</Text>
</View>
);
}