UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

12 lines (11 loc) 362 B
import type { HTMLAttributes } from "svelte/elements"; import { DuoyunToastElement } from '../elements/toast'; export * from '../elements/toast'; interface DyToastProps extends HTMLAttributes<HTMLElement> { items?: DuoyunToastElement['items']; } declare module "svelte/elements" { interface SvelteHTMLElements { 'dy-toast': DyToastProps; } }