MCPcopy Create free account
hub / github.com/alanagoyal/docbase / CommandShortcut

Function CommandShortcut

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

Source from the content-addressed store, hash-verified

134CommandItem.displayName = CommandPrimitive.Item.displayName
135
136const CommandShortcut = ({
137 className,
138 ...props
139}: React.HTMLAttributes<HTMLSpanElement>) => {
140 return (
141 <span
142 className={cn(
143 "ml-auto text-xs tracking-widest text-muted-foreground",
144 className
145 )}
146 {...props}
147 />
148 )
149}
150CommandShortcut.displayName = "CommandShortcut"
151
152export {

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected