useActiveViewport Function

Beta  

React hook that maintains the active viewport.

useActiveViewport(): ScreenViewport | undefined

Returns - ScreenViewport | undefined

Defined in

Last Updated: 13 June, 2024