@chief-editor/ui
Version:
UI Component for chief editor
28 lines (27 loc) • 815 B
TypeScript
import { UnionOmit } from '@co-hooks/util';
import { HTMLAttributes } from 'react';
declare type ColSpanType = number | string;
export interface IColSize {
span?: ColSpanType;
order?: ColSpanType;
offset?: ColSpanType;
push?: ColSpanType;
pull?: ColSpanType;
}
export interface ICol {
span?: ColSpanType;
order?: ColSpanType;
offset?: ColSpanType;
push?: ColSpanType;
pull?: ColSpanType;
xxs?: ColSpanType | IColSize;
xs?: ColSpanType | IColSize;
sm?: ColSpanType | IColSize;
md?: ColSpanType | IColSize;
lg?: ColSpanType | IColSize;
xl?: ColSpanType | IColSize;
xxl?: ColSpanType | IColSize;
}
export declare type IColProps = UnionOmit<ICol, HTMLAttributes<HTMLDivElement>>;
export declare function Col(props: IColProps): JSX.Element;
export {};