UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

18 lines (17 loc) 724 B
import { HTMLAttributes, RefAttributes } from 'react'; import { ForwardRefExoticComponent } from 'react'; import { DuoyunStatusLightElement } from '../elements/status-light'; export * from '../elements/status-light'; export type DyStatusLightProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunStatusLightElement> & { status?: DuoyunStatusLightElement['status']; }; export type DyStatusLightExpose = {}; declare global { namespace JSX { interface IntrinsicElements { 'dy-status-light': DyStatusLightProps; } } } export declare const DyStatusLight: ForwardRefExoticComponent<Omit<DyStatusLightProps, "ref"> & RefAttributes<DyStatusLightExpose>>; export default DyStatusLight;