fix linting, formatting
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
initialWidth,
|
||||
initialHeight,
|
||||
nodeOrigin,
|
||||
fitView
|
||||
fitView,
|
||||
children
|
||||
}: SvelteFlowProviderProps = $props();
|
||||
|
||||
const store = createStore({
|
||||
@@ -31,4 +32,4 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
<slot />
|
||||
{@render children?.()}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import type { Edge, Node } from '$lib/types';
|
||||
import type { Snippet } from 'svelte';
|
||||
import type { NodeOrigin } from '@xyflow/system';
|
||||
import type { Edge, Node } from '$lib/types';
|
||||
|
||||
export type SvelteFlowProviderProps = {
|
||||
initialNodes?: Node[];
|
||||
@@ -8,4 +9,5 @@ export type SvelteFlowProviderProps = {
|
||||
initialHeight?: number;
|
||||
fitView?: boolean;
|
||||
nodeOrigin?: NodeOrigin;
|
||||
children?: Snippet;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user