Skip to components
DEVELOPER REFERENCE · v4.0.0

ListboxOptionContent API

Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.

ListboxOptionContent4 props0 callbacks0 methods

Props4

ListboxOptionContent props
NameTypeDescription
iconOptional
ComponentChildrenInspect type
Icon content for the component. When the type is string, supply trusted SVG markup.
labelRequired
ComponentChildrenInspect type
Label content or accessible name for the component, as rendered by this control.
descriptionOptional
ComponentChildrenInspect type
Supporting text shown with the label or heading.
classNamesOptional
{ readonly icon?: string; readonly copy?: string; readonly label?: string; readonly description?: string; } | undefinedInspect type
CSS class overrides for named internal parts; expand the type for the supported part names.

Events and callbacks0

No component-specific events or callbacks.

Methods0

No component-specific imperative methods. Use props and callbacks to control this component.