MCPcopy Create free account
hub / github.com/TheOrcDev/github-creature / ComboboxTrigger

Function ComboboxTrigger

components/ui/combobox.tsx:27–46  ·  view source on GitHub ↗
({
  className,
  children,
  ...props
}: ComboboxPrimitive.Trigger.Props)

Source from the content-addressed store, hash-verified

25}
26
27function ComboboxTrigger({
28 className,
29 children,
30 ...props
31}: ComboboxPrimitive.Trigger.Props) {
32 return (
33 <ComboboxPrimitive.Trigger
34 data-slot="combobox-trigger"
35 className={cn("[&_svg:not([class*='size-'])]:size-4", className)}
36 {...props}
37 >
38 {children}
39 <HugeiconsIcon
40 icon={ArrowDown01Icon}
41 strokeWidth={2}
42 className="text-muted-foreground size-4 pointer-events-none"
43 />
44 </ComboboxPrimitive.Trigger>
45 );
46}
47
48function ComboboxClear({ className, ...props }: ComboboxPrimitive.Clear.Props) {
49 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected