ChipsInput
A chips input
(code example)
info
This component extends TextField props.
tip
This component support margin, color, typography modifiers.
Usageβ
Live Editor
<ChipsInput placeholder={'Placeholder'} chips={[{label: 'Falcon 9'}, {label: 'Enterprise'}, {label: 'Challenger', borderRadius: 0}]} />
Result
Loading...
APIβ
chipsβ
List of chips to render
ChipProps[]
defaultChipPropsβ
Default set of props to pass by default to all chips
ChipProps
maxChipsβ
The maximum chips to allow adding
number
onChangeβ
Callback for chips change (adding or removing chip)
(newChips, changeReason, updatedChip) => void