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

17 lines
387 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.HeadCellProps = $props();
2024-06-13 17:36:43 +02:00
</script>
<CalendarPrimitive.HeadCell
2025-06-08 16:32:41 +02:00
bind:ref
class={cn("text-muted-foreground w-9 rounded-md text-[0.8rem] font-normal", className)}
{...restProps}
/>