Chip
A compact element for tags or removable filters.
Preview
Props
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | — | Chip label |
onRemove | function | — | Remove handler |
Usage
const { Chip } = window.ColorSnap;
ReactDOM.createRoot(document.getElementById('root')).render(
React.createElement(Chip, { label: 'React', onRemove: function() {} })
);