EmptyContent.vue 410 B

1234567891011121314151617181920
  1. <script setup lang="ts">
  2. import type { HTMLAttributes } from "vue"
  3. import { cn } from '@/Packages/Shadcn/Lib/utils'
  4. const props = defineProps<{
  5. class?: HTMLAttributes["class"]
  6. }>()
  7. </script>
  8. <template>
  9. <div
  10. data-slot="empty-content"
  11. :class="cn(
  12. 'flex w-full min-w-0 max-w-sm flex-col items-center gap-4 text-balance text-sm',
  13. props.class,
  14. )"
  15. >
  16. <slot />
  17. </div>
  18. </template>