OptionalaudioGives the user an audio feedback when the button is clicked
OptionalcallbackGives the user an audio feedback when the clickHandler promise is fullfilled.
A function that gets called when the button was clicked. Must return a Promise
OptionaldisableIf set to true, the button gets disabled when clicked
OptionalheadingAn optional heading for the button
OptionaliconThe icon of the button. if omitted no icon gets printed
OptionallabelThe label of the button. If omitted no label gets printed.
OptionalshowShows Progress rings on the butten when the button is clicked, until the clickHandler promise is fullfilled.
OptionalstyleThe style of the button.
OptionaltoggleToggles the state of the button.
The type of the button.
OptionalvibrationIf set to true, the device vibrates on a button click (only on devices/platforms that supports vibration).
BaseButton options.