DefinitelyTyped/reactstrap/lib/Col.d.ts
Marco Falkenberg 8934f1102f Add typings for reactstrap (#15357)
* Add typings for reactstrap

* Make lint happy

* Do not „double-reference“ to React types
2017-03-24 08:36:17 -07:00

25 lines
421 B
TypeScript

export type ColumnProps
= string
| boolean
| number
| {
size?: boolean | number | string
push?: string | number
pull?: string | number
offset?: string | number
};
interface Props {
xs?: ColumnProps;
sm?: ColumnProps;
md?: ColumnProps;
lg?: ColumnProps;
xl?: ColumnProps;
//custom widths
widths?: string[];
}
declare var Col: React.StatelessComponent<Props>;
export default Col;