Files
ots/resources/js/components/ui/table/TableCaption.vue
T
Twyco 9a025d6a80
CI/CD / test_and_check_app (push) Failing after 2m49s
CI/CD / Publish immutable image (push) Skipped
added shadcn & table
2026-09-11 03:16:34 +02:00

18 lines
340 B
Vue

<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>