Function
CommandGroup
({
className,
...props
}: React.ComponentProps<typeof CommandPrimitive.Group>)
Source from the content-addressed store, hash-verified
| 97 | } |
| 98 | |
| 99 | function CommandGroup({ |
| 100 | className, |
| 101 | ...props |
| 102 | }: React.ComponentProps<typeof CommandPrimitive.Group>) { |
| 103 | return ( |
| 104 | <CommandPrimitive.Group |
| 105 | data-slot="command-group" |
| 106 | className={cn( |
| 107 | "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", |
| 108 | className, |
| 109 | )} |
| 110 | {...props} |
| 111 | /> |
| 112 | ); |
| 113 | } |
| 114 | |
| 115 | function CommandSeparator({ |
| 116 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected