react-bootstrap
Version:
Bootstrap 5 components built with React
12 lines (11 loc) • 415 B
TypeScript
import PropTypes from 'prop-types';
export type ResponsiveUtilityValue<T> = T | {
xs?: T;
sm?: T;
md?: T;
lg?: T;
xl?: T;
xxl?: T;
};
export declare function responsivePropType(propType: any): PropTypes.Requireable<any>;
export default function createUtilityClassName(utilityValues: Record<string, ResponsiveUtilityValue<unknown>>, breakpoints?: string[], minBreakpoint?: string): string[];