ActionableButton.Primary
The style definition for the "primary actionable button".
Key | Type | Description |
---|---|---|
backgroundColorName | String | The color name for the background that references a color in the asset catalog of the application. The default value is hui_button_background_primary . |
borderColorName | String | The color name for the border that references a color in the asset catalog of the application. The default value is hui_button_background_primary . |
borderWidth | Number | The width of the border. The default value is 1. |
cornerRadius | Number | The radius of the corner. The default value is 6. |
iconTextPadding | Number | The padding between the icon and the text. The default value is 8. |
imageName | String | The name of the image that references an image in the asset catalog of the application. The default value is omitted. Omitting this value or providing an invalid value hides the image. |
loadingIndicatorViewStyle | String | The loading indicator view style. The default value is LoadingIndicatorView.ButtonPrimary . |
minHeight | Number | The minimum height. The default value is 48. If the value is 0, the height is adjusted according to UI constraints. |
textAppearance | String | The text appearance. The default value is TextAppearance.Body . |
textColorName | String | The color name for the text that references a color in the asset catalog of the application. The default value is hui_button_text . |