Skip to content

The only tool you need to know what is happening and how to fix it.

406 B
Raw Blame
<script lang="ts">
	import { Calendar as CalendarPrimitive } from 'bits-ui';
	import { cn } from '$lib/utils.js';

	let {
		ref = $bindable(null),
		class: className,
		...restProps
	}: CalendarPrimitive.HeadCellProps = $props();
</script>

<CalendarPrimitive.HeadCell
	bind:ref
	class={cn(
		'w-(--cell-size) rounded-md text-[0.8rem] font-normal text-muted-foreground',
		className
	)}
	{...restProps}
/>