Components

ActionHeader

<ActionHeader />

Constructor

# <ActionHeader />

Header of an action. It renders Action name with buttons for all the actions.

Usage

import { ActionHeader } from 'admin-bro'

View Source admin-bro/src/frontend/components/app/action-header/action-header.tsx, line 23

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

View Source admin-bro/src/frontend/components/app/action-header/action-header-props.tsx, line 5

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