UIChip
An chip component for presents selection and choices
Properties
Name | Type | Default | Description |
value |
| Required - Value presented in chip | |
size |
|
| Variations default|small|micro |
type |
|
| Style for the chip. See Available types for variations |
avatarComponent |
| UIAvatar component or other VirtualElement | |
thumbnail |
| Deprecated. Use props | |
avatarUrl |
| Url to avatar | |
icon |
| FontAwesome 4 icon. Example | |
onRemoveBtnClick |
| Required - Callback function when clicking remove button | |
onSelectChange |
| Callback if we want to have select state |
Example
Available types
The UIChip.props.type
has following variations:
Name |
default |
primary |
draft |
alert |
pending |
warning |
done |
schedule |
brand |
Last updated