(props: CommandRootProps)
| 14 | import { Dialog, DialogContent } from "./dialog"; |
| 15 | |
| 16 | export const Command = (props: CommandRootProps) => { |
| 17 | const [local, rest] = splitProps(props, ["class"]); |
| 18 | |
| 19 | return ( |
| 20 | <CommandPrimitive |
| 21 | class={cn( |
| 22 | "flex size-full flex-col overflow-hidden bg-popover text-popover-foreground", |
| 23 | local.class, |
| 24 | )} |
| 25 | {...rest} |
| 26 | /> |
| 27 | ); |
| 28 | }; |
| 29 | |
| 30 | export const CommandList = (props: CommandListProps) => { |
| 31 | const [local, rest] = splitProps(props, ["class"]); |