1 | import * as React from 'react';
|
2 |
|
3 | import { BsPrefixComponent } from './helpers';
|
4 |
|
5 | type RowColWidth =
|
6 | | number
|
7 | | '1'
|
8 | | '2'
|
9 | | '3'
|
10 | | '4'
|
11 | | '5'
|
12 | | '6'
|
13 | | '7'
|
14 | | '8'
|
15 | | '9'
|
16 | | '10'
|
17 | | '11'
|
18 | | '12';
|
19 | type RowColumns = RowColWidth | { cols?: RowColWidth };
|
20 |
|
21 | export interface RowProps {
|
22 | noGutters?: boolean;
|
23 | xs?: RowColumns;
|
24 | sm?: RowColumns;
|
25 | md?: RowColumns;
|
26 | lg?: RowColumns;
|
27 | xl?: RowColumns;
|
28 | }
|
29 |
|
30 | declare class Row<
|
31 | As extends React.ElementType = 'div'
|
32 | > extends BsPrefixComponent<As, RowProps> {}
|
33 |
|
34 | export default Row;
|