UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

17 lines (16 loc) 744 B
import type { HTMLAttributes } from "svelte/elements"; import { DuoyunDatePanelElement } from '../elements/date-panel'; export * from '../elements/date-panel'; interface DyDatePanelProps extends HTMLAttributes<HTMLElement> { time?: DuoyunDatePanelElement['time']; 'on:change'?: (event: CustomEvent<Parameters<DuoyunDatePanelElement['change']>[0]>) => void; 'on:datehover'?: (event: CustomEvent<Parameters<DuoyunDatePanelElement['datehover']>[0]>) => void; value?: DuoyunDatePanelElement['value']; highlights?: DuoyunDatePanelElement['highlights']; initValue?: DuoyunDatePanelElement['initValue']; } declare module "svelte/elements" { interface SvelteHTMLElements { 'dy-date-panel': DyDatePanelProps; } }