Configuration of the button.

Hierarchy

  • PartiallyConstructible
    • ButtonConfiguration

Constructors

Properties

accessibilityDescription: string

The text to be read when the button is selected through accessibility mode. Default is ""

background: BackgroundStyle

Configuration of the background appearance for the button.

foreground: ForegroundStyle

Configuration of the appearance for foreground elements (e.g. text and/or icons, etc) of the button.

text: string

The text to be displayed on the button. Default is ""

visible: boolean

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