| 15 | } |
| 16 | |
| 17 | function 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 | |
| 33 | function ComboboxClear({ className, ...props }: ComboboxPrimitive.Clear.Props) { |
| 34 | return ( |