Input.button
Renders an interactable button.
The button can be used to trigger a lambda, change pages within a Buttonize app, or interact with some other AWS services via Buttonize Actions.
Usage - changing the page
Preview
The buttons are not interactable in this example.
Usage - invoking a lambda
Preview
The buttons are not interactable in this example.
Colors
In order to control color of a button, kind
and intent
props can be used.
Props
label
Required
The text to display inside the button.
kind
Optional
primary
. intent
Optional
default
. disabled
Optional
Whether or not the button can be interacted with. Default is false
.
onClickFinished
Optional
A callback that will be invoked when the onClick
function is finished
executing.
This is also often used to redirect to the next page via Action.buttonize.app.changePage(...)
.
spacingTop
Optional
The amount of space to give above the component.
spacingBottom
Optional
The amount of space to give below the component.
width
Optional