From 90c409e02d98adec1fbdb691aa44eb3ceb25a23e Mon Sep 17 00:00:00 2001 From: Ryan Fischbach Date: Thu, 16 May 2024 11:59:54 -0700 Subject: [PATCH] return the created FlowEditor instance. --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 3e5edc09..ae6b3041 100644 --- a/src/index.js +++ b/src/index.js @@ -28,7 +28,7 @@ window.showFlowEditor = (ele, config) => { concatSCHEMES(config.schemes); } - ReactDOM.render(, ele); + return ReactDOM.render(, ele); }; // If you want your app to work offline and load faster, you can change