Files
watch-stock-list/src/lib/components/ui/calendar/calendar-heading.svelte
2025-07-29 13:46:43 +08:00

17 lines
359 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.HeadingProps = $props();
</script>
<CalendarPrimitive.Heading
bind:ref
class={cn("px-(--cell-size) text-sm font-medium", className)}
{...restProps}
/>