Line data Source code
1 16 : <script setup lang="ts">
2 : import type { SelectScrollDownButtonProps } from 'reka-ui'
3 : import { SelectScrollDownButton } 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 : SelectScrollDownButtonProps & { class?: HTMLAttributes['class'] }
10 : >()
11 : </script>
12 :
13 : <template>
14 154 : <SelectScrollDownButton
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-down]" />
25 : </slot>
26 : </SelectScrollDownButton>
27 : </template>
|