From 2f09fbb13dce5a029802984027c94654155fed05 Mon Sep 17 00:00:00 2001 From: ModestFun <61576426+ModestFun@users.noreply.github.com> Date: Wed, 27 Dec 2023 14:44:24 +0800 Subject: [PATCH] :bug: fix: export (#57) Co-authored-by: jiangchu --- src/index.ts | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index ffc9d20..a3beec8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,12 @@ -import { BaseEdge, EdgeLabelRenderer, EdgeProps, Handle, Position, getBezierPath } from 'reactflow'; +import { + BaseEdge, + EdgeLabelRenderer, + EdgeProps, + Handle, + Position, + getBezierPath, + getSmoothStepPath, +} from 'reactflow'; export * from './Background'; export { default as Background } from './Background'; @@ -23,4 +31,12 @@ export { NodeField, useNodeFieldStyles } from './NodeField'; export type { ExtraAction } from './NodeField'; export { default as RadiusEdge } from './RadiusEdge'; export * from './constants'; -export { BaseEdge, EdgeLabelRenderer, Handle, Position, getBezierPath, type EdgeProps }; +export { + BaseEdge, + EdgeLabelRenderer, + Handle, + Position, + getBezierPath, + getSmoothStepPath, + type EdgeProps, +};