({
className,
...props
}: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>)
| 133 | } |
| 134 | |
| 135 | function SelectScrollUpButton({ |
| 136 | className, |
| 137 | ...props |
| 138 | }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>) { |
| 139 | return ( |
| 140 | <SelectPrimitive.ScrollUpButton |
| 141 | className={cn( |
| 142 | 'flex cursor-default items-center justify-center py-1', |
| 143 | className |
| 144 | )} |
| 145 | data-slot="select-scroll-up-button" |
| 146 | {...props} |
| 147 | > |
| 148 | <ChevronUpIcon className="size-4" /> |
| 149 | </SelectPrimitive.ScrollUpButton> |
| 150 | ); |
| 151 | } |
| 152 | |
| 153 | function SelectScrollDownButton({ |
| 154 | className, |