team-4/frontend/src/lib/components/ui/calendar/calendar-heading.svelte

17 lines
398 B
Svelte
Raw Normal View History

2025-08-02 13:28:10 +02:00
<script lang="ts">
import { Calendar as CalendarPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
let {
ref = $bindable(null),
class: className,
...restProps
}: CalendarPrimitive.HeadingProps = $props();
</script>
<CalendarPrimitive.Heading
bind:ref
class={cn('px-(--cell-size) text-sm font-medium', className)}
{...restProps}
/>