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

30 lines
613 B
TypeScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
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;