UNPKG

423 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 default function createUtilityClassName(utilityValues: Record<string, ResponsiveUtilityValue<unknown>>, breakpoints?: string[], minBreakpoint?: string): string[];