MCPcopy Create free account
hub / github.com/Open-Dev-Society/OpenStock / CommandGroup

Function CommandGroup

components/ui/command.tsx:113–127  ·  view source on GitHub ↗
({
  className,
  ...props
}: React.ComponentProps<typeof CommandPrimitive.Group>)

Source from the content-addressed store, hash-verified

111}
112
113function CommandGroup({
114 className,
115 ...props
116}: React.ComponentProps<typeof CommandPrimitive.Group>) {
117 return (
118 <CommandPrimitive.Group
119 data-slot="command-group"
120 className={cn(
121 "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",
122 className
123 )}
124 {...props}
125 />
126 )
127}
128
129function CommandSeparator({
130 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected