(props: CommandListProps)
| 28 | }; |
| 29 | |
| 30 | export const CommandList = (props: CommandListProps) => { |
| 31 | const [local, rest] = splitProps(props, ["class"]); |
| 32 | |
| 33 | return ( |
| 34 | <CommandPrimitive.List |
| 35 | class={cn( |
| 36 | "max-h-[300px] overflow-y-auto overflow-x-hidden p-1", |
| 37 | local.class, |
| 38 | )} |
| 39 | {...rest} |
| 40 | /> |
| 41 | ); |
| 42 | }; |
| 43 | |
| 44 | export const CommandInput = (props: VoidProps<CommandInputProps>) => { |
| 45 | const [local, rest] = splitProps(props, ["class"]); |