mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-23 09:15:13 +03: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>
|