Hierarchy

Properties

aria-label?: string | ChildArray

Accessible text for the button. This should always be present if the button only contains an icon.

The textual content of this attribute is passed to the DOM element as aria-label.

disabled?: boolean

Disables button from user input.

Default: false

icon?: string

Class(es) of an optional icon to be rendered within the button.

If provided, the button will gain a has-icon class.

loading?: boolean

Show a loading spinner within the button.

If true, also disables the button.

Default: false

type?: string

Button type.

Default: "button"

Generated using TypeDoc v0.24.8