MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / Command

Function Command

apps/start/src/components/ui/command.tsx:14–28  ·  view source on GitHub ↗
({
  className,
  ...props
}: React.ComponentProps<typeof CommandPrimitive>)

Source from the content-addressed store, hash-verified

12import { cn } from '@/lib/utils';
13
14function Command({
15 className,
16 ...props
17}: React.ComponentProps<typeof CommandPrimitive>) {
18 return (
19 <CommandPrimitive
20 data-slot="command"
21 className={cn(
22 'bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md',
23 className,
24 )}
25 {...props}
26 />
27 );
28}
29
30function CommandDialog({
31 title = 'Command Palette',

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected