1 | import * as React from 'react';
|
2 | type ColSpanType = number | string;
|
3 | type FlexType = number | 'none' | 'auto' | string;
|
4 | export interface ColSize {
|
5 | flex?: FlexType;
|
6 | span?: ColSpanType;
|
7 | order?: ColSpanType;
|
8 | offset?: ColSpanType;
|
9 | push?: ColSpanType;
|
10 | pull?: ColSpanType;
|
11 | }
|
12 | export interface ColProps extends React.HTMLAttributes<HTMLDivElement> {
|
13 | flex?: FlexType;
|
14 | span?: ColSpanType;
|
15 | order?: ColSpanType;
|
16 | offset?: ColSpanType;
|
17 | push?: ColSpanType;
|
18 | pull?: ColSpanType;
|
19 | xs?: ColSpanType | ColSize;
|
20 | sm?: ColSpanType | ColSize;
|
21 | md?: ColSpanType | ColSize;
|
22 | lg?: ColSpanType | ColSize;
|
23 | xl?: ColSpanType | ColSize;
|
24 | xxl?: ColSpanType | ColSize;
|
25 | prefixCls?: string;
|
26 | }
|
27 | declare const Col: React.ForwardRefExoticComponent<ColProps & React.RefAttributes<HTMLDivElement>>;
|
28 | export default Col;
|