MCPcopy Index your code
hub / github.com/sourcebot-dev/sourcebot / CommandShortcut

Function CommandShortcut

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected