Element of type Button
Attribute | Description | Type | Details | |
---|---|---|---|---|
type | The identifier of the component | string ("button") | ||
text | The value of the text inside the button | string | ||
disabled | The button is disabled if true | boolean | ||
leftIcon | component | type | string ("icon") | |
mainStyle | The style to use, the component will be changed according to the theme. | string ("primary", "secondary", "tertiary") | ||
onPressed | Basic Listener | |||
rightIcon | component | type | string ("icon") | |
size | The size to use, the component will be sized according to the value. | string ("small", "medium", "large") |