Configuration of the badge.

Hierarchy

  • PartiallyConstructible
    • BadgeStyle

Constructors

  • Parameters

    • Optional source: DeepPartial<BadgeStyle>

    Returns BadgeStyle

Properties

background: BackgroundStyle

Configuration of the background appearance for the badge.

Default Value

new BackgroundStyle({});
foregroundColor: string

The color of the badge's foreground (icon, text).

Default Value

"?sbColorOnSurface";
visible: boolean

Determines whether the badge is visible or not.

Default Value

true;

Generated using TypeDoc