UNPKG

ui-ingredients

Version:

Headless component library for Svelte powered by zag

9 lines (8 loc) 515 B
import type { Merge, SetOptional } from 'type-fest'; import type { HtmlIngredientProps } from '../types.js'; import { type CreateListboxProps, type CreateListboxReturn } from './createListbox.svelte.js'; export interface ListboxProps extends Merge<HtmlIngredientProps<'div', HTMLDivElement, CreateListboxReturn>, SetOptional<CreateListboxProps, 'id'>> { } declare const ListboxRoot: import("svelte").Component<ListboxProps, {}, "ref">; type ListboxRoot = ReturnType<typeof ListboxRoot>; export default ListboxRoot;