# RichTextSlashCustomItem (@salmonui/rich-text)

> The RichTextSlashCustomItem interface of @salmonui/rich-text.

Canonical: https://salmonui.dev/docs/reference/rich-text/RichTextSlashCustomItem

```ts
import type { RichTextSlashCustomItem } from '@salmonui/rich-text';
```

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

## Reference

Kind: interface

```ts
interface RichTextSlashCustomItem {
    readonly id: string;
    readonly label: string;
    readonly keywords?: readonly string[];
    readonly onSelect: (actions: RichTextEditorActions) => void;
}
```

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id: string;` |  |  |
| `label` | `readonly label: string;` |  |  |
| `keywords` | `readonly keywords?: readonly string[];` | optional |  |
| `onSelect` | `readonly onSelect: (actions: RichTextEditorActions) => void;` |  |  |
