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

name: string
routePath: string
type?: string

Button type.

Default: "button"

url?: null | string | (() => null | string)

Type declaration

    • (): null | string
    • Returns null | string

value?: null | string | (() => null | string)

Type declaration

    • (): null | string
    • Returns null | string

Generated using TypeDoc v0.24.8