mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-03-29 10:46:38 +00:00
20 lines
448 B
Svelte
20 lines
448 B
Svelte
<script lang="ts">
|
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
import { cn } from "$lib/utils/style.js";
|
|
|
|
type $$Props = CalendarPrimitive.HeadingProps;
|
|
|
|
let className: $$Props["class"] = undefined;
|
|
export { className as class };
|
|
</script>
|
|
|
|
<CalendarPrimitive.Heading
|
|
let:headingValue
|
|
class={cn("text-sm font-medium", className)}
|
|
{...$$restProps}
|
|
>
|
|
<slot {headingValue}>
|
|
{headingValue}
|
|
</slot>
|
|
</CalendarPrimitive.Heading>
|