mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Add typings for reactstrap * Make lint happy * Do not „double-reference“ to React types
25 lines
421 B
TypeScript
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;
|