ChoiceChip API
Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.
ChoiceChip6 props2 callbacks0 methods
Props6
| Name | Type | Description |
|---|---|---|
childrenRequired |
| Content rendered inside the component. Supply nodes from the framework adapter you are using. |
colorOptional | string | undefined | CSS color used for this item or its visual accent. |
selectedOptional | boolean | undefined | Selected value or selected-state flag; the declared type identifies which representation the control uses. |
infoOptional |
| Additional informational content displayed with the choice chip. |
removeLabelOptional | string | undefined | Accessible text or formatter for the remove-item action. |
removeClassNameOptional | string | undefined | Additional CSS classes for the remove part of the component. |
Events and callbacks2
| Name | Type | Description |
|---|---|---|
onSelectOptional |
| Called when the user selects an item. The signature identifies the selected value and any additional context. |
onRemoveOptional |
| Requests removal of the indicated item; the application owns updating its data. |
Methods0
No component-specific imperative methods. Use props and callbacks to control this component.