UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

22 lines (21 loc) 906 B
import { HTMLAttributes, RefAttributes } from 'react'; import { ForwardRefExoticComponent } from 'react'; import { DuoyunVestaboardElement } from '../elements/vestaboard'; export * from '../elements/vestaboard'; export type DyVestaboardProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunVestaboardElement> & { char?: DuoyunVestaboardElement['char']; variant?: DuoyunVestaboardElement['variant']; direction?: DuoyunVestaboardElement['direction']; duration?: DuoyunVestaboardElement['duration']; debug?: DuoyunVestaboardElement['debug']; }; export type DyVestaboardExpose = {}; declare global { namespace JSX { interface IntrinsicElements { 'dy-vestaboard': DyVestaboardProps; } } } export declare const DyVestaboard: ForwardRefExoticComponent<Omit<DyVestaboardProps, "ref"> & RefAttributes<DyVestaboardExpose>>; export default DyVestaboard;