@resval/react-responsive-values
Version:
Resval stands for Responsive Values, which is a hook that can return a value based on the current breakpoint. This hook can also respond to the size of the window.
7 lines (6 loc) • 420 B
TypeScript
import type { TRecordKeys } from './types';
export declare function isEmptyObject(obj: Record<TRecordKeys, any>): boolean;
export declare function isObject(obj: Record<TRecordKeys, any>): boolean;
export declare function isArrayOfCSSUnits(arr: any[]): boolean;
export declare function isCSSUnits(value: string): boolean;
export declare function isBreakpointsHaveDiffCSSUnits(breakpointsValues: string[]): boolean;