UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

20 lines (19 loc) 725 B
import { HTMLAttributes, RefAttributes } from 'react'; import { ForwardRefExoticComponent } from 'react'; import { DuoyunEmptyElement } from '../elements/empty'; export * from '../elements/empty'; export type DyEmptyProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunEmptyElement> & { icon?: DuoyunEmptyElement['icon']; text?: DuoyunEmptyElement['text']; slotName?: DuoyunEmptyElement['slotName']; }; export type DyEmptyExpose = {}; declare global { namespace JSX { interface IntrinsicElements { 'dy-empty': DyEmptyProps; } } } export declare const DyEmpty: ForwardRefExoticComponent<Omit<DyEmptyProps, "ref"> & RefAttributes<DyEmptyExpose>>; export default DyEmpty;