UNPKG

652 BTypeScriptView Raw
1import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers';
2declare type NumberAttr = number | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12';
3declare type ColOrder = 'first' | 'last' | NumberAttr;
4declare type ColSize = boolean | 'auto' | NumberAttr;
5declare type ColSpec = ColSize | {
6 span?: ColSize;
7 offset?: NumberAttr;
8 order?: ColOrder;
9};
10export interface ColProps extends BsPrefixPropsWithChildren {
11 xs?: ColSpec;
12 sm?: ColSpec;
13 md?: ColSpec;
14 lg?: ColSpec;
15 xl?: ColSpec;
16}
17declare const Col: BsPrefixRefForwardingComponent<'div', ColProps>;
18export default Col;