@chief-editor/ui
Version:
UI Component for chief editor
16 lines (15 loc) • 652 B
TypeScript
import { UnionOmit } from '@co-hooks/util';
import { HTMLAttributes } from 'react';
import { BreakpointSizeType } from '../util/breakpoint';
declare const RowAligns: ["start", "end", "center"];
declare const RowJustify: ["start", "end", "center", "space-around", "space-between"];
export interface IRow {
gutter?: number | Partial<Record<BreakpointSizeType, number>>;
type?: 'flex';
align?: (typeof RowAligns)[number];
justify?: (typeof RowJustify)[number];
prefixCls?: string;
}
export declare type IRowProps = UnionOmit<IRow, HTMLAttributes<HTMLDivElement>>;
export declare function Row(props: IRowProps): JSX.Element;
export {};