UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

16 lines (15 loc) 623 B
import { HTMLAttributes, RefAttributes } from 'react'; import { ForwardRefExoticComponent } from 'react'; import { DuoyunLoadingElement } from '../elements/loading'; export * from '../elements/loading'; export type DyLoadingProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunLoadingElement> & {}; export type DyLoadingExpose = {}; declare global { namespace JSX { interface IntrinsicElements { 'dy-loading': DyLoadingProps; } } } export declare const DyLoading: ForwardRefExoticComponent<Omit<DyLoadingProps, "ref"> & RefAttributes<DyLoadingExpose>>; export default DyLoading;