| Property | Description | Type |
| -------- | --------------------------------------------------------------------------------- | ----------------------- |
| text | tag text | string |
| onRemove | function to be called when the tag is closed - its absence hide the remove button | function |
| value | a value to be passed with onRemove when the function is called | any |
| type | will set the colors of the tag | string, oneOf(tagTypes) |
| icon | icon placed at the left side of the text | node |
| children | any content that can be rendered | node |
License
MIT
Sick of boring JavaScript newsletters?
Bytes is a JavaScript newsletter you'll actually enjoy reading.