MCPcopy Create free account
hub / github.com/bytebase/dbhub / CommandShortcut

Function CommandShortcut

frontend/src/components/ui/command.tsx:232–243  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"kbd">)

Source from the content-addressed store, hash-verified

230}
231
232function CommandShortcut({ className, ...props }: React.ComponentProps<"kbd">) {
233 return (
234 <span
235 className={cn(
236 "ms-auto font-medium text-muted-foreground/72 text-xs tracking-widest",
237 className,
238 )}
239 data-slot="command-shortcut"
240 {...props}
241 />
242 );
243}
244
245function CommandFooter({ className, ...props }: React.ComponentProps<"div">) {
246 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected