Constructor
# <ActionHeader />
Header of an action. It renders Action name with buttons for all the actions.
Usage
import { ActionHeader } from 'admin-bro'
Type Definitions
object
# ActionHeaderProps
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
resource |
ResourceJSON | Resource for the action |
|
record |
RecordJSON |
<optional> |
Optional record - for record actions |
toggleFilter |
function |
<optional> |
If given, action header will render Filter button |
actionPerformed |
function |
<optional> |
It indicates if action without a component was performed. |
action |
ActionJSON | An action objet |
|
tag |
string |
<optional> |
Optional tag which will be rendered as a Badge |
omitActions |
boolean |
<optional> |
If set, component wont render actions |