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.

13 lines (12 loc) 476 B
import type { ListCollection } from '@ark-ui/svelte/collection'; import type { ListItem } from '../../utils/collections'; export declare const getListboxContext: () => { readonly collection: ListCollection<ListItem>; filter: (text: string) => void; }, setListboxContext: (context: { readonly collection: ListCollection<ListItem>; filter: (text: string) => void; }) => { readonly collection: ListCollection<ListItem>; filter: (text: string) => void; };