ChipProps
Properties
The Avatar element to display.
Override or extend the styles applied to the component.
If true
, the chip will appear clickable, and will raise when pressed, even if the onClick prop is not defined. If false
, the chip will not appear clickable, even if onClick prop is defined. This can be used, for example, along with the component prop to indicate an anchor Chip is clickable. Note: this controls the UI and does not affect the onClick event.
The color of the component. It supports both default and custom theme colors, which can be added as shown in the palette customization guide.
Override the default delete icon element. Shown only if onDelete
is set.
Icon element.
Callback fired when the delete icon is clicked. If set, the delete icon will be shown.
If true
, allows the disabled chip to escape focus. If false
, allows the disabled chip to receive focus.
The variant to use.