ComboboxProvider
▸ ComboboxProvider(props?
): JSX.Element
Provides a combobox store to Combobox components.
Parameters
Name | Type |
---|---|
props? | ComboboxProviderProps |
Returns
JSX.Element
See
https://ariakit.org/components/combobox (opens in a new tab)
Example
<ComboboxProvider defaultValue="">
<Combobox />
<ComboboxPopover>
<ComboboxItem value="Apple" />
<ComboboxItem value="Banana" />
<ComboboxItem value="Orange" />
</ComboboxPopover>
</ComboboxProvider>
Defined in
node_modules/.pnpm/@ariakit+react-core@0.3.5_react-dom@18.2.0_react@18.2.0/node_modules/@ariakit/react-core/cjs/combobox/combobox-provider.d.ts:18