UNPKG

@datalayer/core

Version:
22 lines (21 loc) 489 B
export declare enum BreakpointSize { XSMALL = "xsmall", SMALL = "small", MEDIUM = "medium", LARGE = "large", XLARGE = "xlarge", XXLARGE = "xxlarge" } type WindowSize = { width?: number; height?: number; isXSmall?: boolean; isSmall?: boolean; isMedium?: boolean; isLarge?: boolean; isXLarge?: boolean; isXXLarge?: boolean; currentBreakpointSize?: BreakpointSize; }; export declare function useWindowSize(): WindowSize; export {};