@gluestack-ui/utils
Version:
Utility functions and hooks for gluestack-ui
8 lines • 460 B
TypeScript
declare const screenSize: any;
type breakpoints = keyof typeof screenSize | 'default';
type BreakPointValue = Partial<Record<breakpoints, unknown>>;
export declare const getBreakPointValue: (values: BreakPointValue, width: number) => unknown;
export declare function useBreakpointValue(values: BreakPointValue): unknown;
export declare function isValidBreakpoint(breakPointWidth: number, width?: number): boolean;
export {};
//# sourceMappingURL=index.d.ts.map