trevstack/client/src/lib/ui/range-calendar/range-calendar-heading.svelte

17 lines
362 B
Svelte

<script lang="ts">
import { RangeCalendar as RangeCalendarPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
let {
ref = $bindable(null),
class: className,
...restProps
}: RangeCalendarPrimitive.HeadingProps = $props();
</script>
<RangeCalendarPrimitive.Heading
bind:ref
class={cn('text-sm font-medium', className)}
{...restProps}
/>