forked from qburst/reactstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCol.d.ts
More file actions
30 lines (26 loc) · 634 Bytes
/
Copy pathCol.d.ts
File metadata and controls
30 lines (26 loc) · 634 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import * as React from 'react';
import { CSSModule } from './utils';
export type ColumnProps =
| string
| boolean
| number
| {
size?: boolean | number | string;
offset?: string | number;
order?: string | number;
};
export interface ColProps extends React.HTMLAttributes<HTMLDivElement> {
[key: string]: any;
tag?: React.ElementType;
cssModule?: CSSModule;
xs?: ColumnProps;
sm?: ColumnProps;
md?: ColumnProps;
lg?: ColumnProps;
xl?: ColumnProps;
xxl?: ColumnProps;
// custom widths
widths?: string[];
}
declare class Col extends React.Component<ColProps> {}
export default Col;