react-checkbox-tree
react-checkbox-tree copied to clipboard
Suggestion: Would be cool to be able to set different icons for different nodes' children (image icon, file icon, and so on)
A cool feature would be showing different icons for nodes' children:
- Fruit (folder
-
- Apple icon
-
- Lemon Icon
-
- Orange icon
- Veggie
-
- Tomato icon
-
- Lettuce icon
-
- .....
At the moment the representation is parent (node) = folder icon, child (file) =file icon, but not all children are files. :)
An individual note supports the icon
property. You can also reference the CustomIconsExample
file to see how that works in practice.