Files
gpx.studio/website/src/lib/components/ui/calendar/calendar-grid.svelte

17 lines
364 B
Svelte
Raw Normal View History

2024-06-13 17:36:43 +02:00
<script lang="ts">
import { Calendar as CalendarPrimitive } from "bits-ui";
import { cn } from "$lib/utils.js";
2025-06-08 16:32:41 +02:00
let {
ref = $bindable(null),
class: className,
...restProps
}: CalendarPrimitive.GridProps = $props();
2024-06-13 17:36:43 +02:00
</script>
2025-06-08 16:32:41 +02:00
<CalendarPrimitive.Grid
bind:ref
2025-06-21 21:07:36 +02:00
class={cn("mt-4 flex w-full border-collapse flex-col gap-1", className)}
2025-06-08 16:32:41 +02:00
{...restProps}
/>