The children prop is typed as NodeComponentProps on TreeProps, however the type is not exported. Only TreeWalker and TreeWalkerValue types get exported from ./Tree as you can see here
In order to properly type my custom tree node component this type should be exposed to the consumer of the library
The
childrenprop is typed asNodeComponentPropson TreeProps, however the type is not exported. OnlyTreeWalkerandTreeWalkerValuetypes get exported from./Treeas you can see hereIn order to properly type my custom tree node component this type should be exposed to the consumer of the library