Tag

Props

NameTypeDescription
children
string
avatar
React$Node
isLink
boolean
onRemove
Function

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={<Styled(div) 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={<Styled(div) className="ui-avatar" />} onRemove={function noRefCheck() {}} > Removable tag that should be truncated </Tag>