Merge pull request #2472 from Alireza29675/fix/extra-react-import-removed
fix(examples): extra react imports removed
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
import ReactFlow, {
|
import ReactFlow, {
|
||||||
useReactFlow,
|
useReactFlow,
|
||||||
Node,
|
Node,
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
import ReactFlow, { useReactFlow, Node, Edge, ReactFlowProvider, Background, BackgroundVariant } from 'reactflow';
|
import ReactFlow, { useReactFlow, Node, Edge, ReactFlowProvider, Background, BackgroundVariant } from 'reactflow';
|
||||||
|
|
||||||
const defaultNodes: Node[] = [
|
const defaultNodes: Node[] = [
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
import ReactFlow, { Node, Edge, Position, MarkerType } from 'reactflow';
|
import ReactFlow, { Node, Edge, Position, MarkerType } from 'reactflow';
|
||||||
|
|
||||||
const nodes: Node[] = [
|
const nodes: Node[] = [
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
import { useStore, useStoreApi } from 'reactflow';
|
import { useStore, useStoreApi } from 'reactflow';
|
||||||
|
|
||||||
import styles from './provider.module.css';
|
import styles from './provider.module.css';
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import React from 'react';
|
|
||||||
import { useKeyPress } from 'reactflow';
|
import { useKeyPress } from 'reactflow';
|
||||||
|
|
||||||
const UseKeyPressComponent = () => {
|
const UseKeyPressComponent = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user