OptionalautoFocus?: booleanOptionaldisabled?: booleanIndicates whether the button is disabled or not (same as for HTML button).
Optionalid?: stringHTML id of the element.
OptionalisLoading?: booleanWhether something relevant to the button is loading. If true displays loading animation and is disabled.
Optionallevel?: ButtonLevelVariantLevel of the button, indicates the hierachy of the button relative to other buttons and content.
Click handler callback (same as for HTML button).
OptionalonDoubleClick?: ButtonClickHandlerDouble click handler callback (same as for HTML button). Note that rate limiting will interfere with double
click.
OptionalrateLimitMS?: numberSets how frequently the button can be clicked (once every rateLimitMS milliseconds). If set, the button will
become disabled for the given number of milliseconds after each click.
Optionalsize?: ButtonSizeSize of the button.
OptionaltabIndex?: numberSets the tab index for keyboard navigation (same as for HTML button).
Optionaltitle?: stringTitle of the button (sets HTML title attribute).
Optionaltype?: ButtonTypeType of the button (same as for HTML button).
Optionalvariant?: ButtonSemanticVariantVariant of the button, indicates style and meaning of the button.
Sets the autofocus property on the underlying HTML
buttonelement