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
597 B
Svelte

<script lang="ts">
import FloatingLayerContentStatic from "../floating-layer/components/floating-layer-content-static.svelte";
import FloatingLayerContent from "../floating-layer/components/floating-layer-content.svelte";
import type { FloatingLayerContentImplProps } from "../floating-layer/types.js";
let {
content,
isStatic = false,
onPlaced,
...restProps
}: FloatingLayerContentImplProps & { isStatic: boolean } = $props();
</script>
{#if isStatic}
<FloatingLayerContentStatic {content} {onPlaced} />
{:else}
<FloatingLayerContent {content} {onPlaced} {...restProps} />
{/if}