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

Function ComboboxLabel

packages/react/src/components/combobox.tsx:168–179  ·  view source on GitHub ↗
({ className, ...props }: ComboboxPrimitive.GroupLabel.Props)

Source from the content-addressed store, hash-verified

166}
167
168function ComboboxLabel({ className, ...props }: ComboboxPrimitive.GroupLabel.Props) {
169 return (
170 <ComboboxPrimitive.GroupLabel
171 data-slot="combobox-label"
172 className={cn(
173 "px-2 py-1.5 text-xs text-muted-foreground pointer-coarse:px-3 pointer-coarse:py-2 pointer-coarse:text-sm",
174 className,
175 )}
176 {...props}
177 />
178 );
179}
180
181function ComboboxCollection({ ...props }: ComboboxPrimitive.Collection.Props) {
182 return <ComboboxPrimitive.Collection data-slot="combobox-collection" {...props} />;

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected