Ben Borgers

⇢ Twitter

How to get screen height in Expo

The screen height can be retrieved using the Dimensions package:

import Dimensions from "react-native"

Dimensions.get("window").height

--

Last updated January 24, 2021