Home > @polyspec/crudui-generator-core > BadgeDisplay
BadgeDisplay interface
A badge display: a CSS/variant token plus its translated label.
Signature:
export interface BadgeDisplay
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
'badge' |
Display type. | ||
|
string |
Translated label for the value (defaults to the value itself). | ||
|
string |
Variant token from the value→variant map (e.g. 'success', 'danger'). |