feat(svelte): add background
This commit is contained in:
+2
-3
@@ -1,7 +1,8 @@
|
||||
<script lang="ts">
|
||||
import Panel from '$lib/container/Panel.svelte';
|
||||
import type { PanelPosition } from '@reactflow/system';
|
||||
|
||||
import Panel from '$lib/container/Panel.svelte';
|
||||
import { useStore } from '$lib/store';
|
||||
import ControlButton from './ControlButton.svelte';
|
||||
import PlusIcon from './Icons/Plus.svelte';
|
||||
import MinusIcon from './Icons/Minus.svelte';
|
||||
@@ -14,8 +15,6 @@
|
||||
export let showFitView = true;
|
||||
export let showInteractive = true;
|
||||
|
||||
import { useStore } from '$lib/store';
|
||||
|
||||
const { zoomIn, zoomOut, fitView } = useStore();
|
||||
|
||||
const isInteractive = true;
|
||||
@@ -0,0 +1,2 @@
|
||||
export { default as Controls } from './Controls.svelte';
|
||||
export { default as ControlButton } from './ControlButton.svelte';
|
||||
Reference in New Issue
Block a user