mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-24 05:54:42 +03:00
17 lines
423 B
Svelte
17 lines
423 B
Svelte
<script lang="ts">
|
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
import { cn } from "$lib/utils/style.js";
|
|
|
|
type $$Props = CalendarPrimitive.HeaderProps;
|
|
|
|
let className: $$Props["class"] = undefined;
|
|
export { className as class };
|
|
</script>
|
|
|
|
<CalendarPrimitive.Header
|
|
class={cn("relative flex w-full items-center justify-between pt-1", className)}
|
|
{...$$restProps}
|
|
>
|
|
<slot />
|
|
</CalendarPrimitive.Header>
|