# PivotToolbarItem (@salmonui/pivot-table)

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

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

```ts
import type { PivotToolbarItem } 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 PivotToolbarItem {
    readonly id: string;
    readonly label?: ReactNode | undefined;
    readonly render?: (() => ReactNode) | undefined;
    readonly onClick?: (() => void) | undefined;
    readonly disabled?: boolean | undefined;
}
```

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id: string;` |  |  |
| `label` | `readonly label?: ReactNode \| undefined;` | optional |  |
| `render` | `readonly render?: (() => ReactNode) \| undefined;` | optional | Custom content; the item is then rendered as is. |
| `onClick` | `readonly onClick?: (() => void) \| undefined;` | optional |  |
| `disabled` | `readonly disabled?: boolean \| undefined;` | optional |  |
