Ben Borgers / Posts /

How to get screen height in Expo

January 24, 2021 by @benborgers

The screen height can be retrieved using the Dimensions package:

import Dimensions from "react-native"

Dimensions.get("window").height

A quick favor: was anything I wrote incorrect or misspelled, or do you still have questions? Please use this form to let me know or ask for help!

Loading...