Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Optional aria-label

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.

Optional disabled

disabled?: boolean

Disables button from user input.

Default: false

Optional icon

icon?: string

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

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

Optional loading

loading?: boolean

Show a loading spinner within the button.

If true, also disables the button.

Default: false

Optional title

title?: string | ChildArray

DEPRECATED: Please use the aria-label attribute instead. For tooltips, use the <Tooltip> component.

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.

deprecated

Optional type

type?: string

Generated using TypeDoc version 0.22.10