Combobox
View Source
Used for easily selecting a list of items that are paired with a text input. Composes Combobox.Input and Popover.
Charlie Browndancounsell
Charlotte Whitemtnmissy
Chloe Jonesladylexy
Cooper Kingsteveodom
James Millerbensie
John Jamesmiller
Travis Arnoldsouporserious
Props
Themeable
Accepts Box props.
Use the combobox
key in ThemeProvider
to customize the default properties of this component.
children
ReactReactNode
Usually takes Combobox.Input
, Combobox.Items
and Combobox.Item
components.
onHighlight
(event: { lastIndex: number; newIndex: number }) => void
Callback when an item is highlighted.
onSelect
(item: any) => void
Callback when an item is selected.
The value of the selected item.