flbxcup/resources/js/components/ui/calendar/calendar-grid.svelte
2025-06-23 23:12:40 +02:00

16 lines
350 B
Svelte

<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("w-full border-collapse space-y-1", className)}
{...restProps}
/>