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

20 lines
406 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
2025-06-21 21:07:36 +02:00
class={cn(
"text-muted-foreground w-(--cell-size) rounded-md text-[0.8rem] font-normal",
className
)}
2025-06-08 16:32:41 +02:00
{...restProps}
/>