Skip to content

Vizel API / react/src / VizelSlashMenuItem

Function: VizelSlashMenuItem()

ts
function VizelSlashMenuItem(__namedParameters): Element;

Defined in: packages/react/src/components/VizelSlashMenuItem.tsx:52

A menu item component for the VizelSlashMenu. Displays the command icon, label, description, and optional keyboard shortcut.

The shortcut hint renders through formatVizelShortcut, which resolves the { mac, other } VizelShortcutSpec to the current platform.

Parameters

ParameterType
__namedParametersVizelSlashMenuItemProps

Returns

Element

Released under the MIT License.