of
Creates a button with the specified label and action.
Return
new action button
Parameters
label
text component for the button label
action
action to perform when clicked
Convenience overload using a plain string label.
Return
new action button
Parameters
label
plain text label
action
action to perform