MCPcopy Create free account
hub / github.com/Thanas-R/Virdis / CommandShortcut

Function CommandShortcut

src/components/ui/command.tsx:117–119  ·  view source on GitHub ↗
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)

Source from the content-addressed store, hash-verified

115CommandItem.displayName = CommandPrimitive.Item.displayName;
116
117const CommandShortcut = ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>) => {
118 return <span className={cn("ml-auto text-xs tracking-widest text-muted-foreground", className)} {...props} />;
119};
120CommandShortcut.displayName = "CommandShortcut";
121
122export {

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected