1 | import * as React from 'react';
|
2 | import { CSSModule } from './utils';
|
3 |
|
4 | export type ColumnProps =
|
5 | | string
|
6 | | boolean
|
7 | | number
|
8 | | {
|
9 | size?: boolean | number | string;
|
10 | offset?: string | number;
|
11 | order?: string | number;
|
12 | };
|
13 |
|
14 | export interface ColProps extends React.HTMLAttributes<HTMLDivElement> {
|
15 | [key: string]: any;
|
16 | tag?: React.ElementType;
|
17 | cssModule?: CSSModule;
|
18 | xs?: ColumnProps;
|
19 | sm?: ColumnProps;
|
20 | md?: ColumnProps;
|
21 | lg?: ColumnProps;
|
22 | xl?: ColumnProps;
|
23 | xxl?: ColumnProps;
|
24 |
|
25 |
|
26 | widths?: string[];
|
27 | }
|
28 |
|
29 | declare class Col extends React.Component<ColProps> {}
|
30 | export default Col;
|