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

Function ComboboxTrigger

packages/react/src/components/combobox.tsx:17–31  ·  view source on GitHub ↗
({ className, children, ...props }: ComboboxPrimitive.Trigger.Props)

Source from the content-addressed store, hash-verified

15}
16
17function ComboboxTrigger({ className, children, ...props }: ComboboxPrimitive.Trigger.Props) {
18 return (
19 <ComboboxPrimitive.Trigger
20 data-slot="combobox-trigger"
21 className={cn("[&_svg:not([class*='size-'])]:size-4", className)}
22 {...props}
23 >
24 {children}
25 <ChevronDownIcon
26 data-slot="combobox-trigger-icon"
27 className="pointer-events-none size-4 text-muted-foreground"
28 />
29 </ComboboxPrimitive.Trigger>
30 );
31}
32
33function ComboboxClear({ className, ...props }: ComboboxPrimitive.Clear.Props) {
34 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected