You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

35 lines
541 B

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