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