Line data Source code
1 32 : <script setup lang="ts">
2 : import { NumberFieldInput } from 'reka-ui'
3 : import type { HTMLAttributes } from 'vue'
4 :
5 : import { cn } from '@comfyorg/tailwind-utils'
6 :
7 : const { class: className } = defineProps<{
8 : class?: HTMLAttributes['class']
9 : }>()
10 : </script>
11 :
12 : <template>
13 : <NumberFieldInput
14 : data-slot="number-field-input"
15 : :class="
16 : cn(
17 : 'min-w-0 flex-1 border-none bg-transparent text-center text-base focus-visible:outline-none',
18 : className
19 : )
20 : "
21 : />
22 : </template>
|