MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / Command

Function Command

packages/react/src/components/command.tsx:10–21  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>)

Source from the content-addressed store, hash-verified

8import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from "./dialog";
9
10function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>) {
11 return (
12 <CommandPrimitive
13 data-slot="command"
14 className={cn(
15 "flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
16 className,
17 )}
18 {...props}
19 />
20 );
21}
22
23function CommandDialog({
24 title = "Command Palette",

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected