@react-awesome/use-breakpoint
Version:
useBreakpoint triggers callback when a container's size is equal to one specific breakpoint.
5 lines • 326 B
TypeScript
/**
* @description returns true if container's size is greater or equal than given breakpoint
*/
export declare const greaterOrEqual: (BREAKPOINTS: Record<string, number>, containerEl: HTMLElement | null, direction?: 'horizontal' | 'vertical') => (breakpoint: string) => boolean;
//# sourceMappingURL=greaterOrEqual.d.ts.map