Components

ActionButton

<ActionButton />

Renders Button which redirects to given action

Type Definitions

object

# ActionButtonProps

Properties:
Name Type Attributes Description
action ActionJSON

Action to which button should redirect

resourceId string

Id of a resource of an action

recordId string <optional>

Optional recordId for record action

recordIds Array.<string> <optional>

Optional recordIds for bulk action

actionPerformed function <optional>

optional callback function which will be triggered when action is performed

View Source admin-bro/src/frontend/components/app/action-button.tsx, line 121