UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

16 lines (15 loc) 587 B
import { HTMLAttributes, RefAttributes } from 'react'; import { ForwardRefExoticComponent } from 'react'; import { DuoyunLinkElement } from '../elements/link'; export * from '../elements/link'; export type DyLinkProps = HTMLAttributes<HTMLDivElement> & RefAttributes<DuoyunLinkElement> & {}; export type DyLinkExpose = {}; declare global { namespace JSX { interface IntrinsicElements { 'dy-link': DyLinkProps; } } } export declare const DyLink: ForwardRefExoticComponent<Omit<DyLinkProps, "ref"> & RefAttributes<DyLinkExpose>>; export default DyLink;