ComboboxEditorItem API
API reference docs for theComboboxEditorItemcomponent. For examples and details on the usage of this component, visit the component demo page.
Props
| Prop | Type | Description | Default |
|---|---|---|---|
children | React.ReactNode | The content of the combobox editor item. | _ |
id? | string | An optional ID for the menu item; auto-generated if not provided. If no value is provided, an ID will be automatically generated. | _ |
option | Object | The option to be rendered in the combobox editor item. | _ |
onClick? | (event?: React.MouseEvent<HTMLDivElement>) => void | The function to be called when the item is clicked. | _ |
iconStart? | (props: IconProps) => React.ReactNode | The icon to be rendered at the start of the item. | _ |