Thank you for your fork, but there is a problem - in your fork, you can move an element from one tree to another only in open nodes. in the original version, an element can be placed inside elements at any level.
Original version example: https://codesandbox.io/s/xenodochial-river-30j9c
Your fork example: https://codesandbox.io/s/still-silence-vq89w
UPD: problem with changes (class -> function) in tree-node.tsx file, commit 2a27b80
Thank you for your fork, but there is a problem - in your fork, you can move an element from one tree to another only in open nodes. in the original version, an element can be placed inside elements at any level.
Original version example: https://codesandbox.io/s/xenodochial-river-30j9c
Your fork example: https://codesandbox.io/s/still-silence-vq89w
UPD: problem with changes (class -> function) in
tree-node.tsxfile, commit2a27b80