17 lines
369 B
Svelte
17 lines
369 B
Svelte
<script lang="ts">
|
|
import { cn } from '$lib/utils.js';
|
|
import { RangeCalendar as RangeCalendarPrimitive } from 'bits-ui';
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
class: className,
|
|
...restProps
|
|
}: RangeCalendarPrimitive.GridProps = $props();
|
|
</script>
|
|
|
|
<RangeCalendarPrimitive.Grid
|
|
bind:ref
|
|
class={cn('w-full border-collapse space-y-1', className)}
|
|
{...restProps}
|
|
/>
|