refactor(controls): move controls into own package and replace in examples

This commit is contained in:
Christopher Möller
2022-07-21 14:05:56 +02:00
parent 272d0dfcb4
commit 2d2bbcc8df
29 changed files with 102 additions and 61 deletions
+1 -1
View File
@@ -3,7 +3,6 @@ import ReactFlow, {
ReactFlowProvider,
addEdge,
Node,
Controls,
Connection,
Edge,
ConnectionMode,
@@ -11,6 +10,7 @@ import ReactFlow, {
useEdgesState,
ReactFlowInstance,
} from '@react-flow/core';
import Controls from '@react-flow/controls';
import Sidebar from './Sidebar';