From d491c0196c7b2ac98ed845f95302414261016bec Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Sun, 11 Jul 2021 18:03:46 +0200 Subject: [PATCH] update: renaming stuff from react flow to revue flow --- examples/CustomNode/index.tsx | 2 +- examples/Header.tsx | 2 +- src/store/configure-store.ts | 8 ++++---- src/store/index.ts | 6 +++--- src/types/index.ts | 4 ++-- src/utils/graph.ts | 10 +++++----- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/examples/CustomNode/index.tsx b/examples/CustomNode/index.tsx index 33150d6e..05ca9a66 100644 --- a/examples/CustomNode/index.tsx +++ b/examples/CustomNode/index.tsx @@ -16,7 +16,7 @@ import RevueFlow, { } from '../../src'; import ColorSelectorNode from './ColorSelectorNode'; -const onLoad = (reactFlowInstance: OnLoadParams) => console.log('flow loaded:', reactFlowInstance); +const onLoad = (revueFlowInstance: OnLoadParams) => console.log('flow loaded:', revueFlowInstance); const onNodeDragStop = (_: MouseEvent, node: Node) => console.log('drag stop', node); const onElementClick = (_: MouseEvent, element: FlowElement) => console.log('click', element); diff --git a/examples/Header.tsx b/examples/Header.tsx index abce664b..928d8652 100644 --- a/examples/Header.tsx +++ b/examples/Header.tsx @@ -12,7 +12,7 @@ const Header = defineComponent({ return () => (
-