Closed gunheesssss closed 1 year ago
@gunheesssss
See hasChild to see if a node has children.
https://github.com/minop1205/react-dnd-treeview#render-prop
For the maximum depth, please refer to a similar Issue in the past.
@minop1205 Wow thank you for the really quick reply πππ»ββοΈ I should have looked better, I'm really sorry. π
Lastly, is there a search function?
@gunheesssss
Search API has been raised as another issue, but not yet addressed. https://github.com/minop1205/react-dnd-treeview/issues/198
node.droppable Is it possible to determine whether a parent has children or not?
https://github.com/minop1205/react-dnd-treeview/assets/126860189/d7d2967f-1429-4707-920d-c047443af2c1
I want to remove the arrow if there are no children. And is it possible to set a maximum depth? π₯Ίπ₯Ί