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 Value

"";
background: BackgroundStyle

Configuration of the background appearance for the button.

Default Value

new BackgroundStyle({});
foreground: ForegroundStyle

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

Default Value

new ForegroundStyle({});
text: string

The text to be displayed on the button.

Default Value

"";
visible: boolean

Determines whether the button is visible or not.

Default Value

true;

Generated using TypeDoc