UNPKG

605 BTypeScriptView Raw
1import * as React from 'react';
2import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
3type RowColWidth = number | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'auto';
4type RowColumns = RowColWidth | {
5 cols?: RowColWidth;
6};
7export interface RowProps extends BsPrefixProps, React.HTMLAttributes<HTMLElement> {
8 xs?: RowColumns;
9 sm?: RowColumns;
10 md?: RowColumns;
11 lg?: RowColumns;
12 xl?: RowColumns;
13 xxl?: RowColumns;
14 [key: string]: any;
15}
16declare const Row: BsPrefixRefForwardingComponent<'div', RowProps>;
17export default Row;