UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

29 lines (28 loc) 1.3 kB
import type { HTMLAttributes } from "svelte/elements"; import { DuoyunSelectElement } from '../elements/select'; export * from '../elements/select'; interface DySelectProps extends HTMLAttributes<HTMLElement> { multiple?: DuoyunSelectElement['multiple']; disabled?: DuoyunSelectElement['disabled']; searchable?: DuoyunSelectElement['searchable']; keepsearch?: DuoyunSelectElement['keepsearch']; inline?: DuoyunSelectElement['inline']; placeholder?: DuoyunSelectElement['placeholder']; borderless?: DuoyunSelectElement['borderless']; pinselected?: DuoyunSelectElement['pinselected']; loading?: DuoyunSelectElement['loading']; dropdownStyle?: DuoyunSelectElement['dropdownStyle']; options?: DuoyunSelectElement['options']; adder?: DuoyunSelectElement['adder']; value?: DuoyunSelectElement['value']; renderLabel?: DuoyunSelectElement['renderLabel']; renderTag?: DuoyunSelectElement['renderTag']; active?: DuoyunSelectElement['active']; 'on:change'?: (event: CustomEvent<Parameters<DuoyunSelectElement['change']>[0]>) => void; 'on:search'?: (event: CustomEvent<Parameters<DuoyunSelectElement['search']>[0]>) => void; } declare module "svelte/elements" { interface SvelteHTMLElements { 'dy-select': DySelectProps; } }