diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts index 305acea7..0b67466e 100644 --- a/packages/react/src/index.ts +++ b/packages/react/src/index.ts @@ -109,6 +109,9 @@ export { type NodeConnection, type OnReconnect, type AriaLabelConfig, + type SetCenter, + type SetViewport, + type FitBounds, } from '@xyflow/system'; // we need this workaround to prevent a duplicate identifier error diff --git a/packages/svelte/src/lib/index.ts b/packages/svelte/src/lib/index.ts index bed08663..3c16faca 100644 --- a/packages/svelte/src/lib/index.ts +++ b/packages/svelte/src/lib/index.ts @@ -116,7 +116,10 @@ export { type ResizeDragEvent, type IsValidConnection, type NodeConnection, - type AriaLabelConfig + type AriaLabelConfig, + type SetCenter, + type SetViewport, + type FitBounds } from '@xyflow/system'; // system utils