Configuration of the button with a badge.

Hierarchy

  • PartiallyConstructible
    • BadgedButton

Constructors

  • Parameters

    • Optional source: DeepPartial<BadgedButton>

    Returns BadgedButton

Properties

activeBackgroundColor: string

The color of the button's background when the button is active (selected, toggled). Default is "#FFCE5C"

activeForegroundColor: string

The color of the button's foreground (icon, text) when the button is active (selected, toggled). Default is "#1C1B1F"

backgroundColor: string

The color of the button's background. Default is "#0000007A"

badgeBackgroundColor: string

The color of the badge's background. Default is "#FFFFFF"

badgeForegroundColor: string

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

foregroundColor: string

The color of the button's foreground (icon, text). Default is "#FFFFFF"

visible: boolean

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