UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

14 lines (13 loc) 450 B
import type { HTMLAttributes } from "svelte/elements"; import { DuoyunAlertElement } from '../elements/alert'; export * from '../elements/alert'; interface DyAlertProps extends HTMLAttributes<HTMLElement> { header?: DuoyunAlertElement['header']; status?: DuoyunAlertElement['status']; action?: DuoyunAlertElement['action']; } declare module "svelte/elements" { interface SvelteHTMLElements { 'dy-alert': DyAlertProps; } }