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, isLastLevel}` (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 |
|**`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, isLastLevel}` (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 |
63
+
|**`initialNumToRender`**| Prop for setting the initial amount of items to render. | number | Not required |
63
64
64
65
### NestedRow
65
66
@@ -111,7 +112,7 @@ When you finish with watch mode remember to stop it to get back to normal like t
111
112
112
113
## Invite me a coffee
113
114
114
-
If you want to invite me for a coffee after enjoying this library or just for fun.
115
+
If you want to invite me for a coffee after enjoying this library or just for fun.
0 commit comments