| 25 | } |
| 26 | |
| 27 | function 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 | |
| 48 | function ComboboxClear({ className, ...props }: ComboboxPrimitive.Clear.Props) { |
| 49 | return ( |