UNPKG

@gravity-ui/uikit

Version:

Gravity UI base styling and components

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