BadgeStyleDefinition
Defines a Badge Style
TypeScript
export interfaceProperties
| Property | Type | Description | Default |
|---|---|---|---|
| IconProperties | BadgeIconProperties | Settings for Icon to display alongside badge text | |
| PillStyle | BadgePillStyle | Style for the Badge pill (cut-down version of Adaptable Style) | |
| Rule | string | Optional AdapTableQL boolean expression for deciding whether Badge is displayed. References to the Styled Column's own column resolve per cell value — and, for array columns, per array element. | |
| Shape | BadgeShape | Visual shape of the Badge's corner radius | 'Rounded' |
Property Details
IconProperties
Settings for Icon to display alongside badge text
TypeScript
IconProperties?: BadgeIconProperties;Property Value
PillStyle
Style for the Badge pill (cut-down version of Adaptable Style)
TypeScript
PillStyle?: BadgePillStyle;Property Value
Rule
Optional AdapTableQL boolean expression for deciding whether Badge is displayed. References to the Styled Column's own column resolve per cell value — and, for array columns, per array element.
TypeScript
Rule?: string;Property Value
string
Shape
Visual shape of the Badge's corner radius
TypeScript
Shape?: BadgeShape;Default Value
'Rounded'