17 lines
362 B
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}
|
|
/>
|