Skip to main content
Version: 57.2.0

Table badge

Use the table badges to create easily scannable tags for a record.

Package: @terreno/ui
Categories: Component
Props interface: TableBadgeProps
Story source: demo/stories/Tablebadge.stories.tsx

Live demo

Props

PropTypeRequiredDescription
valuestringYesThe value of the badge.
badgeIconNameIconNameThe icon name of the badge.
badgeStatusunionThe status of the badge.
editingOptionsarrayThe options available for editing the badge.
isEditingbooleanIf true, the component is in editing mode.
onSavereflectionThe function to call when the badge status is saved.