You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
864 B
29 lines
864 B
import * as React from 'react';
|
|
declare type ColSpanType = number | string;
|
|
declare type FlexType = number | 'none' | 'auto' | string;
|
|
export interface ColSize {
|
|
flex?: FlexType;
|
|
span?: ColSpanType;
|
|
order?: ColSpanType;
|
|
offset?: ColSpanType;
|
|
push?: ColSpanType;
|
|
pull?: ColSpanType;
|
|
}
|
|
export interface ColProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
flex?: FlexType;
|
|
span?: ColSpanType;
|
|
order?: ColSpanType;
|
|
offset?: ColSpanType;
|
|
push?: ColSpanType;
|
|
pull?: ColSpanType;
|
|
xs?: ColSpanType | ColSize;
|
|
sm?: ColSpanType | ColSize;
|
|
md?: ColSpanType | ColSize;
|
|
lg?: ColSpanType | ColSize;
|
|
xl?: ColSpanType | ColSize;
|
|
xxl?: ColSpanType | ColSize;
|
|
prefixCls?: string;
|
|
}
|
|
declare const Col: React.ForwardRefExoticComponent<ColProps & React.RefAttributes<HTMLDivElement>>;
|
|
export default Col;
|