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.

foregroundColor: string

The color of the badge's foreground (icon, text). Default is "?sbColorOnSurface"

visible: boolean

Determines whether the badge is visible or not. Default is true