21 lines
394 B
Vue
21 lines
394 B
Vue
<script setup lang="ts">
|
|
import type { HTMLAttributes } from "vue"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
const props = defineProps<{
|
|
class?: HTMLAttributes["class"]
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<div
|
|
data-slot="empty-content"
|
|
:class="cn(
|
|
'flex w-full min-w-0 max-w-sm flex-col items-center gap-4 text-balance text-sm',
|
|
props.class,
|
|
)"
|
|
>
|
|
<slot />
|
|
</div>
|
|
</template>
|