UNPKG

458 BTypeScriptView Raw
1import PropTypes from 'prop-types';
2export declare type ResponsiveUtilityValue<T> = T | {
3 xs?: T;
4 sm?: T;
5 md?: T;
6 lg?: T;
7 xl?: T;
8 xxl?: T;
9};
10export declare function responsivePropType(propType: any): PropTypes.Requireable<any>;
11export declare const DEVICE_SIZES: readonly ["xxl", "xl", "lg", "md", "sm", "xs"];
12export default function createUtilityClassName(utilityValues: Record<string, ResponsiveUtilityValue<unknown>>): string[];