Function
Command
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>)
Source from the content-addressed store, hash-verified
| 8 | import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from "./dialog"; |
| 9 | |
| 10 | function 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 | |
| 23 | function CommandDialog({ |
| 24 | title = "Command Palette", |
Callers
nothing calls this directly
Tested by
no test coverage detected