refactor(nodes): re-init when sourcePos, targetPos or type changes
This commit is contained in:
+2
-2
@@ -78,8 +78,8 @@ export interface WrapNodeProps<T = any> {
|
||||
onNodeDragStop?: NodeMouseHandler;
|
||||
style?: CSSProperties;
|
||||
className?: string;
|
||||
sourcePosition?: Position;
|
||||
targetPosition?: Position;
|
||||
sourcePosition: Position;
|
||||
targetPosition: Position;
|
||||
hidden?: boolean;
|
||||
snapToGrid?: boolean;
|
||||
snapGrid?: SnapGrid;
|
||||
|
||||
Reference in New Issue
Block a user