Skip to content

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

364 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.GridProps = $props();
</script>

<CalendarPrimitive.Grid
	bind:ref
	class={cn('mt-4 flex w-full border-collapse flex-col gap-1', className)}
	{...restProps}
/>