EmptyDescription.vue 429 B

1234567891011121314151617181920
  1. <script setup lang="ts">
  2. import type { HTMLAttributes } from "vue"
  3. import { cn } from '@/Packages/Shadcn/Lib/utils'
  4. defineProps<{
  5. class?: HTMLAttributes["class"]
  6. }>()
  7. </script>
  8. <template>
  9. <p
  10. data-slot="empty-description"
  11. :class="cn(
  12. 'text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4',
  13. $attrs.class ?? '',
  14. )"
  15. >
  16. <slot />
  17. </p>
  18. </template>