UNPKG

@wonderflow/react-components

Version:

UI components from Wonderflow's Wanda design system

11 lines 560 B
import { MutableRefObject } from 'react'; export declare type BreakpointsNames = 'xs' | 'sm' | 'md' | 'lg' | 'xl'; export declare type Breakpoints<T> = Record<BreakpointsNames, T>; export declare type BreakpointsSettings = Breakpoints<number>; export declare type BreakpointsValues = Breakpoints<boolean>; export declare const useBreakpoints: (target?: MutableRefObject<HTMLElement | null>, settings?: BreakpointsSettings) => { breakpoints: BreakpointsValues; matches: BreakpointsNames; size: number; }; //# sourceMappingURL=useBreakpoints.d.ts.map