2026-03-06 17:03:35 +01:00
|
|
|
<script lang="ts">
|
2026-03-07 10:49:35 +01:00
|
|
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
|
|
|
import { cn } from "$lib/utils.js";
|
2026-03-06 17:03:35 +01:00
|
|
|
|
2026-03-07 10:49:35 +01:00
|
|
|
let {
|
|
|
|
|
ref = $bindable(null),
|
|
|
|
|
class: className,
|
|
|
|
|
...restProps
|
|
|
|
|
}: CalendarPrimitive.HeadCellProps = $props();
|
2026-03-06 17:03:35 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<CalendarPrimitive.HeadCell
|
2026-03-07 10:49:35 +01:00
|
|
|
bind:ref
|
|
|
|
|
class={cn(
|
|
|
|
|
"text-muted-foreground w-(--cell-size) rounded-md text-[0.8rem] font-normal",
|
|
|
|
|
className,
|
|
|
|
|
)}
|
|
|
|
|
{...restProps}
|
2026-03-06 17:03:35 +01:00
|
|
|
/>
|