UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

19 lines (18 loc) 781 B
import type { HTMLAttributes } from "svelte/elements"; import { DuoyunLegendElement } from '../elements/legend'; export * from '../elements/legend'; interface DyLegendProps extends HTMLAttributes<HTMLElement> { colors?: DuoyunLegendElement['colors']; legends?: DuoyunLegendElement['legends']; value?: DuoyunLegendElement['value']; 'on:change'?: (event: CustomEvent<Parameters<DuoyunLegendElement['change']>[0]>) => void; topOverflow?: DuoyunLegendElement['topOverflow']; rightOverflow?: DuoyunLegendElement['rightOverflow']; bottomOverflow?: DuoyunLegendElement['bottomOverflow']; leftOverflow?: DuoyunLegendElement['leftOverflow']; } declare module "svelte/elements" { interface SvelteHTMLElements { 'dy-legend': DyLegendProps; } }