UNPKG

ui-ingredients

Version:

Headless component library for Svelte powered by zag

5 lines (4 loc) 373 B
import { createContext } from '../create-context.svelte.js'; export const [getListboxContext, setListboxContext] = createContext('Listbox'); export const [getListboxItemPropsContext, setListboxItemPropsContext] = createContext('ListboxItem.props'); export const [getListboxItemGroupPropsContext, setListboxItemGroupPropsContext,] = createContext('ListboxItemGroup.props');