react-arborist
react-arborist copied to clipboard
Example of onCreate, onRename, onDelete
I cannot get it to work. It'll be really helpful if anyone can share an example as the documentation doesn't have it.
I'm using nextjs with typescript.
+1
Have a look at the hooks being implemented in this PR. Apparently, they are called whenever their corresponding action is executed (eg rename on enter, move on drag&drop, etc) or hotkeys are pressed (eg shift+a for creating a folder) - does that help you? 😉
Note to improve documentation here.