Skip to content

Hook useScreenDimensions()

useScreenDimensions(): [number | null, number | null]

Source: screen.ts

Returns the width and height of the element with ID "root"

Returns

[number | null, number | null]

Built by Prozilla