# SchedulerMenuItem (@salmonui/scheduler)

> The SchedulerMenuItem type of @salmonui/scheduler: A context menu entry: the data form of the @salmonui/buttons/menu entries (items, separators, groups, submenus).

Canonical: https://salmonui.dev/docs/reference/scheduler/SchedulerMenuItem

```ts
import type { SchedulerMenuItem } from '@salmonui/scheduler';
```

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

## Reference

Kind: type

```ts
type SchedulerMenuItem = MenuItemData;
```

A context menu entry: the data form of the `@salmonui/buttons/menu` entries (`items`, separators, groups, submenus).

Members (10):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `type?: "group" \| "item" \| "separator";` | optional, inherited |  |
| `id` | `id?: string;` | optional, inherited | Stable item key, reported in `onAction` (required for items). |
| `label` | `label?: ReactNode;` | optional, inherited |  |
| `textValue` | `textValue?: string;` | optional, inherited | Typeahead text when `label` is not plain text. |
| `icon` | `icon?: ReactNode;` | optional, inherited |  |
| `disabled` | `disabled?: boolean;` | optional, inherited |  |
| `href` | `href?: string;` | optional, inherited | Renders the item as a link (`<a role="menuitem">`). |
| `target` | `target?: string;` | optional, inherited |  |
| `title` | `title?: string;` | optional, inherited |  |
| `items` | `items?: readonly MenuItemData[];` | optional, inherited | Submenu entries (type `'item'`) or group entries (type `'group'`). |
