File: //home/arjun/projects/buyercall/node_modules/bootstrap-vue-next/src/components/BTable/BTfoot.vue
<template>
<tfoot :class="computedClasses">
<slot />
</tfoot>
</template>
<script setup lang="ts">
import type {ColorVariant} from '../../types'
import {computed} from 'vue'
const props = withDefaults(
defineProps<{
variant?: ColorVariant | null
}>(),
{
variant: null,
}
)
defineSlots<{
// eslint-disable-next-line @typescript-eslint/no-explicit-any
default?: (props: Record<string, never>) => any
}>()
const computedClasses = computed(() => ({
[`table-${props.variant}`]: props.variant !== null,
}))
</script>