Files
Speedtest-Tracker/conf/site/node_modules/react-bootstrap/Col.d.ts
Henry Whitaker ea5808047f Tweaked gitignore
gitignore removed all composer and npm files, so automated builds would fail
2020-04-12 21:24:03 +01:00

37 lines
581 B
TypeScript

import * as React from 'react';
import { BsPrefixComponent } from './helpers';
type NumberAttr =
| number
| '1'
| '2'
| '3'
| '4'
| '5'
| '6'
| '7'
| '8'
| '9'
| '10'
| '11'
| '12';
type ColSize = true | 'auto' | NumberAttr;
type ColSpec =
| ColSize
| { span?: ColSize; offset?: NumberAttr; order?: NumberAttr };
export interface ColProps {
xs?: ColSpec;
sm?: ColSpec;
md?: ColSpec;
lg?: ColSpec;
xl?: ColSpec;
}
declare class Col<
As extends React.ElementType = 'div'
> extends BsPrefixComponent<As, ColProps> {}
export default Col;