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
|**`data`**| Array of nested items | Array |**Required**|
58
-
|**`renderNode`**| Takes a node from data and renders it into the NestedlistView. The function receives `{node, level}` (see [Usage](#usage)) and must return a React element. | Function |**Required**|
59
-
|**`getChildrenName`**| Function to determine in a node where are the children, by default NestedListView will try to find them in **items**| Function |**items**|
60
-
|**`onNodePressed`**| Function called when a node is pressed by a user | Function | Not required |
61
-
|**`extraData`**| A marker property for telling the list to re-render | Object or Array | Not required |
|**`data`**| Array of nested items | Array |**Required**|
58
+
|**`renderNode`**| Takes a node from data and renders it into the NestedlistView. The function receives `{node, level}` (see [Usage](#usage)) and must return a React element. | Function |**Required**|
59
+
|**`getChildrenName`**| Function to determine in a node where are the children, by default NestedListView will try to find them in **items**| Function |**items**|
60
+
|**`onNodePressed`**| Function called when a node is pressed by a user | Function | Not required |
61
+
|**`extraData`**| A marker property for telling the list to re-render | Boolean | Not required |
62
+
|**`keepOpenedState`**| Prop for keeping the opened state of each node when data passed to the list changes | Boolean | Not required |
0 commit comments