mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-05-03 02:11:20 +00:00
19 lines
448 B
Svelte
19 lines
448 B
Svelte
<script lang="ts">
|
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
import { cn } from "$lib/utils";
|
|
|
|
type $$Props = CalendarPrimitive.HeadingProps;
|
|
|
|
let className: string | undefined | null = undefined;
|
|
export { className as class };
|
|
</script>
|
|
|
|
<CalendarPrimitive.Heading
|
|
let:headingValue
|
|
class={cn("text-sm font-medium", className)}
|
|
{...$$restProps}
|
|
>
|
|
<slot {headingValue}>
|
|
{headingValue}
|
|
</slot>
|
|
</CalendarPrimitive.Heading>
|