Renamed to ViewportPortal

This commit is contained in:
peterkogo
2023-12-14 14:27:05 +01:00
parent cc7c49223b
commit 7bb96c9817
8 changed files with 9 additions and 7 deletions
@@ -0,0 +1,12 @@
<script lang="ts">
import portal from '$lib/actions/portal';
import { useStore } from '$lib/store';
type $$Props = {};
const { domNode } = useStore();
</script>
<div use:portal={{ target: '.svelte-flow__viewport-portal', domNode: $domNode }}>
<slot />
</div>
@@ -0,0 +1 @@
export { default as ViewportPortal } from './ViewportPortal.svelte';