Chips help people enter information, make selections, filter content, or trigger actions.

Chip

Component props

Name
Type
Description
classNameStringSpecify additional styles if necessary
onClickFunctionHandling click events.
leftElementNodeAdd the desired element on the left by adding React.Fragment (<> ... </>) and content
rightElementNodeAdd the desired element on the right by adding React.Fragment (<> ... </>) and content
childrenNodeSet the displayed text on the button.
dataNodeSet the displayed text on the button.