UNPKG

react-bootstrap-v5

Version:

Bootstrap 4 components built with React

21 lines (20 loc) 743 B
import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; declare type NumberAttr = number | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12'; declare type ColOrderNumber = number | '1' | '2' | '3' | '4' | '5'; declare type ColOrder = ColOrderNumber | 'first' | 'last'; declare type ColSize = boolean | 'auto' | NumberAttr; declare type ColSpec = ColSize | { span?: ColSize; offset?: NumberAttr; order?: ColOrder; }; export interface ColProps extends BsPrefixPropsWithChildren { xs?: ColSpec; sm?: ColSpec; md?: ColSpec; lg?: ColSpec; xl?: ColSpec; xxl?: ColSpec; } declare const Col: BsPrefixRefForwardingComponent<'div', ColProps>; export default Col;