UNPKG

@chief-editor/ui

Version:

UI Component for chief editor

10 lines (9 loc) 359 B
import { UnionOmit } from '@co-hooks/util'; import React, { HTMLAttributes } from 'react'; export interface IEmpty { icon?: React.ReactNode; content?: React.ReactNode; children?: React.ReactNode; } export declare type IEmptyProps = UnionOmit<IEmpty, HTMLAttributes<HTMLDivElement>>; export declare function Empty(props: IEmptyProps): JSX.Element;