UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

12 lines (11 loc) 452 B
import type { HTMLAttributes } from "svelte/elements"; import { DuoyunPopoverGhostElement } from '../elements/popover'; export * from '../elements/popover'; interface DyPopoverGhostProps extends HTMLAttributes<HTMLElement> { 'on:close'?: (event: CustomEvent<Parameters<DuoyunPopoverGhostElement['close']>[0]>) => void; } declare module "svelte/elements" { interface SvelteHTMLElements { 'dy-popover-ghost': DyPopoverGhostProps; } }