ComboboxEditorItem API

API reference docs for theComboboxEditorItemcomponent. For examples and details on the usage of this component, visit the component demo page.

Props

PropTypeDescriptionDefault
childrenReact.ReactNodeThe content of the combobox editor item._
id?stringAn optional ID for the menu item; auto-generated if not provided. If no value is provided, an ID will be automatically generated._
optionObjectThe option to be rendered in the combobox editor item._
onClick?(event?: React.MouseEvent<HTMLDivElement>) => voidThe function to be called when the item is clicked._
iconStart?(props: IconProps) => React.ReactNodeThe icon to be rendered at the start of the item._