Line data Source code
1 16 : <script setup lang="ts">
2 : import type { SelectScrollUpButtonProps } from 'reka-ui'
3 : import { SelectScrollUpButton } from 'reka-ui'
4 : import type { HTMLAttributes } from 'vue'
5 :
6 : import { cn } from '@comfyorg/tailwind-utils'
7 :
8 2355 : const { class: className, ...restProps } = defineProps<
9 154 : SelectScrollUpButtonProps & { class?: HTMLAttributes['class'] }
10 : >()
11 : </script>
12 :
13 : <template>
14 154 : <SelectScrollUpButton
15 : v-bind="restProps"
16 : :class="
17 : cn(
18 : 'flex cursor-default items-center justify-center py-1 text-muted-foreground',
19 : className
20 : )
21 : "
22 : >
23 : <slot>
24 : <i class="icon-[lucide--chevron-up]" />
25 : </slot>
26 : </SelectScrollUpButton>
27 : </template>
|