You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A renderer is a component you can use to build your tree stucture. The power of it is that you can either use the renderers shipped with this package or you can create your own! A few examples on how to achieve it can be found at the examples section.
3
4
4
5
## Injected props
5
-
| Name | Type | Description |
6
-
| ------------- | ------------- | ----------- |
7
-
| onChange | ({ node: Node *, type: UPDATE_TYPE *}) => void | to be invoked with the updated node and the update type |
8
-
| node | Node * | The node being rendered for that row, with some additional info|
9
-
| children | JSX | Anything your render as children of the component when using it|
0 commit comments