UNPKG

@gravity-ui/uikit

Version:

Gravity UI base styling and components

10 lines (9 loc) 245 B
export interface UseViewportSizeResult { width?: number; height?: number; } /** * A hook to get the size of the viewport when resizing * @returns - {width, height} */ export declare const useViewportSize: () => UseViewportSizeResult;