From 0166187f31222b7862c903b0b6a6a5ee7018cdff Mon Sep 17 00:00:00 2001 From: Moritz Date: Mon, 4 May 2020 17:39:19 +0200 Subject: [PATCH] chore(readme): update --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2ab4a3fa..76dc6df7 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ This is a very basic example of how to use react-flow. There are more advanced e ```javascript import React from 'react'; -import Graph from 'react-flow-renderer'; +import ReactFlow from 'react-flow-renderer'; const elements = [ { id: '1', data: { label: 'Node 1' }, position: { x: 250, y: 5 } }, @@ -41,7 +41,7 @@ const elements = [ const graphStyles = { width: '100%', height: '100%' }; const BasicGraph = () => ( - + ); ```