update src/components/SortableTree/index.js

master
mahdi 3 years ago
parent a305b773ab
commit d95e54cdce
  1. 24
      src/components/SortableTree/index.js

@ -1,9 +1,19 @@
import React from 'react' // import React from "react";
const SortableTree = () => { // const data = {
return ( // id: "The Root",
<div>SortableTree</div> // children: [{ id: "Node A" }, { id: "Node B" }],
) // };
}
export default SortableTree // const SortableTree = () => {
// return <Tree data={data}>{Node}</Tree>;
// };
// function Node({ ref, styles, data }) {
// return (
// <div ref={ref} style={styles.row}>
// <div style={styles.indent}>{data.name}</div>
// </div>
// );
// }
// export default SortableTree;

Loading…
Cancel
Save