MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / CommandGroup

Function CommandGroup

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

Source from the content-addressed store, hash-verified

97}
98
99function 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
115function CommandSeparator({
116 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected