Function: CommandShortcut()
@arolariu/components / CommandShortcut
Function: CommandShortcut()
CommandShortcut(
__namedParameters):Element
Defined in: components/ui/command.tsx:909
Renders auxiliary shortcut text aligned to the edge of a command item.
Parameters
__namedParameters
Readonly<React.HTMLAttributes<HTMLSpanElement>>
Returns
Element
Remarks
- Renders a
<span>element - Built as a lightweight presentational helper for command menus
Example
<CommandShortcut>⌘K</CommandShortcut>
See
// was this page useful?