PageToolbar API
import { PageToolbar } from '@editora/ui-react';
Props
| Prop | Type | Description |
|---|---|---|
actions | readonly PageHeaderAction[] | React.ReactNode | |
actionsLabel | string | |
as | keyof JSX.IntrinsicElements | |
children | React.ReactNode | |
eyebrow | React.ReactNode | |
footer | React.ReactNode | |
headingLevel | 1 | 2 | 3 | 4 | 5 | 6 | The title is a heading of this level (default 1: a page header's title is the page's main heading). Use 2 or lower when the page already has its own h1. |
statusChip | PageHeaderStatusChip | |
subtitle | React.ReactNode | |
surface | 'none' | 'card' | |
title (required) | React.ReactNode | |
toolbar | React.ReactNode |
Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).