Components

ActionButton

<ActionButton />

Constructor

# <ActionButton />

Renders Button which redirects to given action

Usage

import { ActionButton } from 'admin-bro'

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

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/action-button.tsx, line 49

SoftwareBrothers

Proudly built and maintained by SoftwareBrothers

Software House with a passion for both JavaScript and TypeScript.

See what we do See what we believe in

Proudly built and maintained by

SoftwareBrothers