Files
eewing ec317eb17c
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m11s
INIT
2026-02-18 15:17:47 -06:00

19 lines
612 B
Svelte

<script lang="ts">
import { mergeProps } from "svelte-toolbelt";
import type { DatePickerContentStaticProps } from "../types.js";
import PopoverContentStatic from "../../popover/components/popover-content-static.svelte";
import { pickerOpenFocus } from "../../../internal/date-time/calendar-helpers.svelte.js";
let {
ref = $bindable(null),
onOpenAutoFocus,
...restProps
}: DatePickerContentStaticProps = $props();
const mergedProps = $derived(
mergeProps({ onOpenAutoFocus }, { onOpenAutoFocus: pickerOpenFocus })
);
</script>
<PopoverContentStatic {...mergedProps} bind:ref {...restProps} />