From d95e54cdce4aea85308c2984adcd78690a26fea7 Mon Sep 17 00:00:00 2001 From: mahdi Date: Mon, 6 Jun 2022 16:03:03 +0430 Subject: [PATCH] update src/components/SortableTree/index.js --- src/components/SortableTree/index.js | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/src/components/SortableTree/index.js b/src/components/SortableTree/index.js index da17a04..4642f56 100644 --- a/src/components/SortableTree/index.js +++ b/src/components/SortableTree/index.js @@ -1,9 +1,19 @@ -import React from 'react' +// import React from "react"; -const SortableTree = () => { - return ( -
SortableTree
- ) -} +// const data = { +// id: "The Root", +// children: [{ id: "Node A" }, { id: "Node B" }], +// }; -export default SortableTree \ No newline at end of file +// const SortableTree = () => { +// return {Node}; +// }; + +// function Node({ ref, styles, data }) { +// return ( +//
+//
{data.name}
+//
+// ); +// } +// export default SortableTree;