reactstrap
Version:
React Bootstrap components
31 lines (26 loc) • 634 B
TypeScript
import * as React from 'react';
import { CSSModule } from './utils';
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;
xxl?: ColumnProps;
// custom widths
widths?: string[];
}
declare class Col extends React.Component<ColProps> {}
export default Col;