mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
19 lines
652 B
TypeScript
19 lines
652 B
TypeScript
|
import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers';
|
||
|
declare type NumberAttr = number | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12';
|
||
|
declare type ColOrder = 'first' | 'last' | NumberAttr;
|
||
|
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;
|
||
|
}
|
||
|
declare const Col: BsPrefixRefForwardingComponent<'div', ColProps>;
|
||
|
export default Col;
|