
Example
Props
The text of the button.
A function that will be called if the user clicks the button.
The style of the button.Defaults to
"secondary"
.The only way to have a “primary” button is to use a submit button.
Whether or not the button is disabled.Defaults to
false
.An optional keyboard shortcut that will fire the button.