nodeProps represent the computed properties that get applied on the
<Node /> subcomponent in the
This object shape is present in several callback props and methods.
has the following propertis:
String - uniquely identifies the node, see Using the path property page.
Object - a reference to the actual node object in the
Bool - whether the node is the active node, as indicated by
Bool - whether the node is checked, as indicated by the
Bool - whether the node is collapsed, as indicated by the
Bool - whether the node is disabled, as indicated by the
Bool - a string composed by concatenating node index from root to a particular node, a way to uniquely identify a node, this prop is used when
pathProperty is not defined.
Object - node index relative to its siblings.
String - represents the number of parents from the current node to the root node.
Object - props that get applied on the node HTMLElement, it can be mutated with render functions to modify or add props to it.
Object - whether the node has children.
Bool - whether is the last child of it's parent.
Understanding how the node path is built is crucial to understanding how selected/checked/async nodes work. Make sure you read Using the path property
page in order to have a solid grasp of the concepts behind node paths.