UNPKG

ui-ingredients

Version:

Headless component library for Svelte powered by zag

9 lines (8 loc) 438 B
import type { ItemProps, ItemState } from '@zag-js/listbox'; import type { Merge } from 'type-fest'; import type { HtmlIngredientProps } from '../types.js'; export interface ListboxItemProps extends Merge<HtmlIngredientProps<'div', HTMLDivElement, ItemState>, ItemProps> { } declare const ListboxItem: import("svelte").Component<ListboxItemProps, {}, "ref">; type ListboxItem = ReturnType<typeof ListboxItem>; export default ListboxItem;