This widget allows you to add primary and/or secondary actions (buttons) to a widget. This is a quick way for users to perform actions without needing to access a through the widget first.
Display the text content for the title.
Configure the action to be executed when the action button is pressed.
Add text to the footer of the widget.
Align the footer text to left, right, center.
Specify a placeholder text to display if there is no data, for example - title: No data to display.
Configure a title and onPress properties for a primary action button.
Configure a title and onPress properties for a secondary action button.
Example of actions widget
Here is an example of the actions button on the widget level. When the primary (blue) button is pressed, an avatar is shown, and when the secondary button (white with blue text) is pressed, the color palette is shown.
Examples: See the complete example in GitHub.