MCPcopy Create free account
hub / github.com/F12FLASH/CTF / CommandShortcut

Function CommandShortcut

4.Stackless Stack/client/src/components/ui/command.tsx:125–138  ·  view source on GitHub ↗
({
  className,
  ...props
}: React.HTMLAttributes<HTMLSpanElement>)

Source from the content-addressed store, hash-verified

123CommandItem.displayName = CommandPrimitive.Item.displayName
124
125const CommandShortcut = ({
126 className,
127 ...props
128}: React.HTMLAttributes<HTMLSpanElement>) => {
129 return (
130 <span
131 className={cn(
132 "ml-auto text-xs tracking-widest text-muted-foreground",
133 className
134 )}
135 {...props}
136 />
137 )
138}
139CommandShortcut.displayName = "CommandShortcut"
140
141export {

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected