Vizel API / react/src / VizelSlashMenuItemProps
Interface: VizelSlashMenuItemProps
Defined in: packages/react/src/components/VizelSlashMenuItem.tsx:4
Properties
className?
optional className?: string;Defined in: packages/react/src/components/VizelSlashMenuItem.tsx:10
id?
optional id?: string;Defined in: packages/react/src/components/VizelSlashMenuItem.tsx:19
Stable id for the role="option" element. The listbox root's aria-activedescendant points at this id when the item is the active selection, matching the WAI-ARIA combobox pattern. The spec always supplies the id for a rendered item; the optional undefined keeps the prop assignable from the optional spec field under exactOptionalPropertyTypes.
isSelected?
optional isSelected?: boolean;Defined in: packages/react/src/components/VizelSlashMenuItem.tsx:8
Whether the item is selected
item
item: VizelCommandSpec;Defined in: packages/react/src/components/VizelSlashMenuItem.tsx:6
The command spec to display (label, description, icon, shortcut).
onClick
onClick: () => void;Defined in: packages/react/src/components/VizelSlashMenuItem.tsx:9
Returns
void
titleMatches?
optional titleMatches?: [number, number][];Defined in: packages/react/src/components/VizelSlashMenuItem.tsx:21
Match indices for highlighting (from fuzzy search)