Skip to main content

Function: Tag()

Tag(__namedParameters): Element

Defined in: composites/TagGroup/TagGroup.tsx:232

A single tag inside a TagGroup. Reflects the selected State when picked and renders a remove (close) affordance when the group is removable (onRemove). Must be used inside a TagGroup.

Parameters

ParameterType
__namedParametersTagProps

Returns

Element

Example

<Tag id="react">React</Tag>