mirror of
https://github.com/khoaliber/dockhand.git
synced 2026-03-02 21:19:05 +00:00
20 lines
411 B
Svelte
20 lines
411 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.HeaderProps = $props();
|
|
</script>
|
|
|
|
<CalendarPrimitive.Header
|
|
bind:ref
|
|
class={cn(
|
|
"h-(--cell-size) flex w-full items-center justify-center gap-1.5 text-sm font-medium",
|
|
className
|
|
)}
|
|
{...restProps}
|
|
/>
|