# PivotToolbarProps (@salmonui/pivot-table)

> The PivotToolbarProps interface of @salmonui/pivot-table.

Canonical: https://salmonui.dev/docs/reference/pivot-table/PivotToolbarProps

```ts
import type { PivotToolbarProps } from '@salmonui/pivot-table';
```

Entry index: https://salmonui.dev/docs/reference/pivot-table (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/pivot-table.md).

## Reference

Kind: interface

```ts
interface PivotToolbarProps<Row = unknown> {
    readonly pivot: PivotController<Row>;
    readonly items?: readonly (PivotToolbarItemId | PivotToolbarItem)[] | undefined;
    readonly exportWriters?: PivotExportWriters | undefined;
    readonly layout?: 'compact' | 'tabular' | undefined;
    readonly localeText?: PivotLocaleText | undefined;
    readonly className?: string | undefined;
    readonly style?: CSSProperties | undefined;
    readonly 'aria-label'?: string | undefined;
}
```

Members (8):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `pivot` | `readonly pivot: PivotController<Row>;` |  |  |
| `items` | `readonly items?: readonly (PivotToolbarItemId \| PivotToolbarItem)[] \| undefined;` | optional | Built-in item ids and custom items, in order. Default `['fieldList', 'totals', 'formatting', 'export']`. |
| `exportWriters` | `readonly exportWriters?: PivotExportWriters \| undefined;` | optional | Writer loaders for the export menu (Excel and PDF items are disabled without them). |
| `layout` | `readonly layout?: 'compact' \| 'tabular' \| undefined;` | optional | Row layout passed to the export writers. |
| `localeText` | `readonly localeText?: PivotLocaleText \| undefined;` | optional |  |
| `className` | `readonly className?: string \| undefined;` | optional |  |
| `style` | `readonly style?: CSSProperties \| undefined;` | optional |  |
| `aria-label` | `readonly 'aria-label'?: string \| undefined;` | optional |  |
