mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-09 11:12:28 +08:00
21 lines
327 B
Vue
21 lines
327 B
Vue
|
|
<script setup lang="ts">
|
||
|
|
import { cn } from '@/lib/utils'
|
||
|
|
import { computed } from 'vue'
|
||
|
|
|
||
|
|
interface Props {
|
||
|
|
class?: string
|
||
|
|
}
|
||
|
|
|
||
|
|
const props = defineProps<Props>()
|
||
|
|
|
||
|
|
const headerClass = computed(() =>
|
||
|
|
cn('[&_tr]:border-b', props.class)
|
||
|
|
)
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<template>
|
||
|
|
<thead :class="headerClass">
|
||
|
|
<slot />
|
||
|
|
</thead>
|
||
|
|
</template>
|