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

20 lines
411 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.HeaderProps = $props();
2024-06-13 17:36:43 +02:00
</script>
<CalendarPrimitive.Header
2025-06-08 16:32:41 +02:00
bind:ref
2025-06-21 21:07:36 +02:00
class={cn(
2026-04-06 18:22:01 +02:00
"flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium",
2025-06-21 21:07:36 +02:00
className
)}
2025-06-08 16:32:41 +02:00
{...restProps}
/>