react-tree icon indicating copy to clipboard operation
react-tree copied to clipboard

[Icons] Pass isOpen data to IconRenderer

Open Minobi opened this issue 3 years ago • 0 comments

IconRenderer function receive node/leaf and data parameters, but we don't know current state of the node inside this function. I want to render different icons for open and closed nodes. Maybe add third parameter isOpen to IconRenderer function or inside data parameter?

Minobi avatar Apr 15 '22 09:04 Minobi