# ImageEditorCustomItem (@salmonui/editors/image-editor)

> The ImageEditorCustomItem interface of @salmonui/editors/image-editor.

Canonical: https://salmonui.dev/docs/reference/editors/image-editor/ImageEditorCustomItem

```ts
import type { ImageEditorCustomItem } from '@salmonui/editors/image-editor';
```

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

## Reference

Kind: interface

```ts
interface ImageEditorCustomItem {
    readonly id: string;
    readonly label: string;
    readonly icon?: ReactNode;
    readonly disabled?: boolean | undefined;
    readonly onClick?: ((actions: ImageEditorActions) => void) | undefined;
}
```

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id: string;` |  |  |
| `label` | `readonly label: string;` |  | Accessible name and tooltip. |
| `icon` | `readonly icon?: ReactNode;` | optional | Decorative icon; without one the label is shown. |
| `disabled` | `readonly disabled?: boolean \| undefined;` | optional |  |
| `onClick` | `readonly onClick?: ((actions: ImageEditorActions) => void) \| undefined;` | optional |  |
