react-checkbox-tree icon indicating copy to clipboard operation
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)

Open worlderland opened this issue 3 years ago • 1 comments

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. :)

worlderland avatar Nov 11 '21 03:11 worlderland

An individual note supports the icon property. You can also reference the CustomIconsExample file to see how that works in practice.

jakezatecky avatar Nov 13 '21 21:11 jakezatecky