@chief-editor/ui
Version:
UI Component for chief editor
12 lines (11 loc) • 476 B
TypeScript
import { UnionOmit } from '@co-hooks/util';
import { HTMLAttributes } from 'react';
export declare type IDividerProps = UnionOmit<IDivider, HTMLAttributes<HTMLDivElement>>;
export declare type DividerType = 'vertical' | 'horizontal';
export declare type TextDirection = 'left' | 'center' | 'right';
export interface IDivider {
type?: DividerType;
orientation?: TextDirection;
dashed?: boolean;
}
export declare function Divider(props: IDividerProps): JSX.Element;