UNPKG

541 BTypeScriptView Raw
1import * as React from 'react';
2
3import { BsPrefixComponent } from './helpers';
4
5type 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';
19type RowColumns = RowColWidth | { cols?: RowColWidth };
20
21export interface RowProps {
22 noGutters?: boolean;
23 xs?: RowColumns;
24 sm?: RowColumns;
25 md?: RowColumns;
26 lg?: RowColumns;
27 xl?: RowColumns;
28}
29
30declare class Row<
31 As extends React.ElementType = 'div'
32> extends BsPrefixComponent<As, RowProps> {}
33
34export default Row;