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