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
| Prop | Type | Required | Description |
|---|---|---|---|
value | string | Yes | The value of the badge. |
badgeIconName | IconName | The icon name of the badge. | |
badgeStatus | union | The status of the badge. | |
editingOptions | array | The options available for editing the badge. | |
isEditing | boolean | If true, the component is in editing mode. | |
onSave | reflection | The function to call when the badge status is saved. |