Function: useSafeArea
▸ useSafeArea(): undefined
| SafeArea
Computes a safe area based on the dimensions of the pan and viewport containers. This safe area represents a bounding box for the viewport container with an offset from the pan container when they are both present.
It will automatically recompute whenever they are resized.
Returns
undefined
| SafeArea
Defined in
packages/design-engine-react-components/src/hooks/useSafeArea/useSafeArea.ts:15