Function
CommandGroup
({
className,
...props
}: React.ComponentProps<typeof CommandPrimitive.Group>)
Source from the content-addressed store, hash-verified
| 109 | } |
| 110 | |
| 111 | function CommandGroup({ |
| 112 | className, |
| 113 | ...props |
| 114 | }: React.ComponentProps<typeof CommandPrimitive.Group>) { |
| 115 | return ( |
| 116 | <CommandPrimitive.Group |
| 117 | data-slot="command-group" |
| 118 | className={cn( |
| 119 | 'text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium', |
| 120 | className, |
| 121 | )} |
| 122 | {...props} |
| 123 | /> |
| 124 | ); |
| 125 | } |
| 126 | |
| 127 | function CommandSeparator({ |
| 128 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected