Function
Command
({
className,
...props
}: React.ComponentProps<typeof CommandPrimitive>)
Source from the content-addressed store, hash-verified
| 14 | } from "@/components/ui/dialog" |
| 15 | |
| 16 | function Command({ |
| 17 | className, |
| 18 | ...props |
| 19 | }: React.ComponentProps<typeof CommandPrimitive>) { |
| 20 | return ( |
| 21 | <CommandPrimitive |
| 22 | data-slot="command" |
| 23 | className={cn( |
| 24 | "bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md", |
| 25 | className |
| 26 | )} |
| 27 | {...props} |
| 28 | /> |
| 29 | ) |
| 30 | } |
| 31 | |
| 32 | function CommandDialog({ |
| 33 | title = "Command Palette", |
Callers
nothing calls this directly
Tested by
no test coverage detected