a / web /src /components /ui /table /TableCaption.vue
PNRxA
implement dashboard layout and additional tests
2c8ae4e
Raw History Blame Contribute Delete
340 Bytes
<script setup lang="ts">
import type { HTMLAttributes } from "vue"
import { cn } from "@/lib/utils"
const props = defineProps<{
class?: HTMLAttributes["class"]
}>()
</script>
<template>
<caption
data-slot="table-caption"
:class="cn('text-muted-foreground mt-4 text-sm', props.class)"
>
<slot />
</caption>
</template>