EmptyHeader.vue 378 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. <div
  10. data-slot="empty-header"
  11. :class="cn(
  12. 'flex max-w-sm flex-col items-center gap-2 text-center',
  13. $attrs.class ?? '',
  14. )"
  15. >
  16. <slot />
  17. </div>
  18. </template>