API reference: @salmonui/scheduler
SchedulerMenuItemtype
import type { SchedulerMenuItem } from '@salmonui/scheduler';type SchedulerMenuItem = MenuItemData;
A context menu entry: the data form of the @salmonui/buttons/menu entries (items, separators, groups, submenus).
| Name | Signature | Description |
|---|---|---|
typeoptionalinherited | type?: "group" | "item" | "separator"; | |
idoptionalinherited | id?: string; | Stable item key, reported in |
labeloptionalinherited | label?: ReactNode; | |
textValueoptionalinherited | textValue?: string; | Typeahead text when |
iconoptionalinherited | icon?: ReactNode; | |
disabledoptionalinherited | disabled?: boolean; | |
hrefoptionalinherited | href?: string; | Renders the item as a link ( |
targetoptionalinherited | target?: string; | |
titleoptionalinherited | title?: string; | |
itemsoptionalinherited | items?: readonly MenuItemData[]; | Submenu entries (type |