Tag

Props

NameTypeDescription
children
string
avatar
node
isLink
bool
onRemove
func

Standard tag

A standard tag
<Tag> A standard tag </Tag>

Link tag

A link tag
<Tag isLink={true}> A link tag </Tag>

Avatar tag

An avatar tag
<Tag avatar={<MockAvatar className="ui-avatar" />}> An avatar tag </Tag>

Removable tag

Removable tag
<Tag onRemove={function noRefCheck() {}}> Removable tag </Tag>

Truncation

Removable tag that should be truncated
<Tag avatar={<MockAvatar className="ui-avatar" />} onRemove={function noRefCheck() {}} > Removable tag that should be truncated </Tag>