<script setup lang="ts">
import type { HTMLAttributes } from "vue";
import { CalendarHeadCell } from "reka-ui";
import { cn } from "@/lib/utils";

defineProps<{ class?: HTMLAttributes["class"] }>();
</script>

<template>
  <CalendarHeadCell
    data-slot="calendar-head-cell"
    :class="
      cn(
        'text-muted-foreground w-8 rounded-md text-[0.8rem] font-normal',
        $props.class,
      )
    "
  >
    <slot />
  </CalendarHeadCell>
</template>
