Line data Source code
1 16 : <script setup lang="ts">
2 : import type { DialogDescriptionProps } from 'reka-ui'
3 : import { DialogDescription } from 'reka-ui'
4 : import type { HTMLAttributes } from 'vue'
5 :
6 : import { cn } from '@comfyorg/tailwind-utils'
7 :
8 31 : const { class: customClass = '', ...delegated } = defineProps<
9 : DialogDescriptionProps & { class?: HTMLAttributes['class'] }
10 : >()
11 : </script>
12 :
13 : <template>
14 : <DialogDescription
15 : v-bind="delegated"
16 : :class="cn('text-sm text-muted-foreground', customClass)"
17 : >
18 : <slot />
19 : </DialogDescription>
20 : </template>
|