feat(svelte): add SvelteFlowProvider and useSvelteFlow hook

This commit is contained in:
moklick
2023-03-08 20:17:33 +01:00
parent 71cdc0ff02
commit 7bd8032ea4
19 changed files with 202 additions and 46 deletions
+4
View File
@@ -3,6 +3,8 @@ import { SvelteFlow } from '$lib/container/SvelteFlow';
export * from '$lib/container/SvelteFlow';
export * from '$lib/container/Panel';
export * from '$lib/components/SvelteFlowProvider';
export * from '$lib/plugins/Controls';
export * from '$lib/plugins/Background';
export * from '$lib/plugins/Minimap';
@@ -10,4 +12,6 @@ export * from '$lib/plugins/Minimap';
export * from '$lib/types';
export * from '$lib/utils';
export * from '$lib/hooks/useSvelteFlow';
export default SvelteFlow;