duoyun-ui
Version:
A lightweight desktop UI component library, implemented using Gem
14 lines (13 loc) • 542 B
TypeScript
import type { HTMLAttributes } from "svelte/elements";
import { DuoyunCountdownElement } from '../elements/countdown';
export * from '../elements/countdown';
interface DyCountdownProps extends HTMLAttributes<HTMLElement> {
value?: DuoyunCountdownElement['value'];
renderChar?: DuoyunCountdownElement['renderChar'];
'on:finish'?: (event: CustomEvent<Parameters<DuoyunCountdownElement['finish']>[0]>) => void;
}
declare module "svelte/elements" {
interface SvelteHTMLElements {
'dy-countdown': DyCountdownProps;
}
}