GoScrobble/web/node_modules/reactstrap/es/Col.d.ts

30 lines
613 B
TypeScript

import * as React from 'react';
import { CSSModule } from './index';
export type ColumnProps =
| string
| boolean
| number
| {
size?: boolean | number | string;
offset?: string | number;
order?: string | number;
};
export interface ColProps extends React.HTMLAttributes<HTMLDivElement> {
[key: string]: any;
tag?: React.ElementType;
cssModule?: CSSModule;
xs?: ColumnProps;
sm?: ColumnProps;
md?: ColumnProps;
lg?: ColumnProps;
xl?: ColumnProps;
// custom widths
widths?: string[];
}
declare class Col extends React.Component<ColProps> {}
export default Col;