| 126 | }; |
| 127 | |
| 128 | export const CommandGroup = (props: CommandGroupProps) => { |
| 129 | const [local, rest] = splitProps(props, ["class"]); |
| 130 | |
| 131 | return ( |
| 132 | <CommandPrimitive.Group |
| 133 | class={cn( |
| 134 | "overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground", |
| 135 | local.class, |
| 136 | )} |
| 137 | {...rest} |
| 138 | /> |
| 139 | ); |
| 140 | }; |
| 141 | |
| 142 | export const CommandSeparator = (props: CommandEmptyProps) => { |
| 143 | const [local, rest] = splitProps(props, ["class"]); |