refactor(controls): move controls into own package and replace in examples
This commit is contained in:
@@ -2,7 +2,6 @@ import React, { useState, DragEvent } from 'react';
|
||||
import ReactFlow, {
|
||||
ReactFlowProvider,
|
||||
addEdge,
|
||||
Controls,
|
||||
ReactFlowInstance,
|
||||
Connection,
|
||||
Edge,
|
||||
@@ -10,6 +9,7 @@ import ReactFlow, {
|
||||
useNodesState,
|
||||
useEdgesState,
|
||||
} from '@react-flow/core';
|
||||
import Controls from '@react-flow/controls';
|
||||
|
||||
import Sidebar from './Sidebar';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user