UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

18 lines (17 loc) 822 B
import type { HTMLAttributes } from "svelte/elements"; import { DuoyunDropAreaElement } from '../elements/drop-area'; export * from '../elements/drop-area'; interface DyDropAreaProps extends HTMLAttributes<HTMLElement> { tip?: DuoyunDropAreaElement['tip']; accept?: DuoyunDropAreaElement['accept']; dropeffect?: DuoyunDropAreaElement['dropeffect']; allowDrop?: DuoyunDropAreaElement['allowDrop']; 'on:change'?: (event: CustomEvent<Parameters<DuoyunDropAreaElement['change']>[0]>) => void; 'on:ignore'?: (event: CustomEvent<Parameters<DuoyunDropAreaElement['ignore']>[0]>) => void; 'on:nodata'?: (event: CustomEvent<Parameters<DuoyunDropAreaElement['nodata']>[0]>) => void; } declare module "svelte/elements" { interface SvelteHTMLElements { 'dy-drop-area': DyDropAreaProps; } }