refactor(controls): move controls into own package and replace in examples
This commit is contained in:
@@ -6,7 +6,6 @@ import React, {
|
||||
|
||||
import ReactFlow, {
|
||||
addEdge,
|
||||
Controls,
|
||||
Node,
|
||||
Viewport,
|
||||
SnapGrid,
|
||||
@@ -18,6 +17,7 @@ import ReactFlow, {
|
||||
OnSelectionChangeParams,
|
||||
} from '@react-flow/core';
|
||||
|
||||
import Controls from '@react-flow/controls';
|
||||
import Background from '@react-flow/background';
|
||||
import MiniMap from '@react-flow/minimap';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user