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 () => (
-