From 49906ddda856c6f52e5c9e85c0d114a289fd8346 Mon Sep 17 00:00:00 2001 From: moklick Date: Tue, 6 Oct 2020 11:50:27 +0200 Subject: [PATCH] docs(site): getting started text --- website/src/pages/index.js | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/website/src/pages/index.js b/website/src/pages/index.js index cb6caac9..267e7f16 100644 --- a/website/src/pages/index.js +++ b/website/src/pages/index.js @@ -149,22 +149,34 @@ const Home = () => { A flow consists of nodes and edges (or just nodes). Together we call them elements. You can pass a set of elements as a prop to the - ReactFlow component. This is the most basic for a flow. A simple - flow could look like this: + ReactFlow component. A simple flow could look like this: Node 2 }, position: { x: 100, y: 100 } }, { id: 'e1-2', source: '1', target: '2', animated: true }, ]; -const BasicFlow = () => ;`} +export default () => ;`} /> + + You can find a detailed{' '} + entry point in the docs or + read our{' '} + + blog post + {' '} + to get started. +