UNPKG

compote-ui

Version:

An opinionated UI component library for Svelte, built on top of [Ark UI](https://ark-ui.com) with additional components and features not available in the core Ark UI library.

15 lines (14 loc) 518 B
import type { ComboboxRootBaseProps } from '@ark-ui/svelte/combobox'; import type { ListItem } from '../../utils/collections'; export interface ComboboxProps<T extends ListItem> extends Omit<ComboboxRootBaseProps<T>, 'value' | 'collection'> { value?: number | string | null | (number | string)[]; items: T[]; label?: string; placeholder?: string; name?: string; multiple?: boolean; layout?: 'vertical' | 'horizontal'; loading?: boolean; virtualized?: boolean; class?: string; }