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
Copy file name to clipboardExpand all lines: docs/pages/api/tree-view.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,10 +28,11 @@ You can learn more about the difference by [reading this guide](/guides/minimizi
28
28
| <spanclass="prop-name">classes</span> | <spanclass="prop-type">object</span> || Override or extend the styles applied to the component. See [CSS API](#css) below for more details. |
29
29
| <spanclass="prop-name">defaultCollapseIcon</span> | <spanclass="prop-type">node</span> || The default icon used to collapse the node. |
30
30
| <spanclass="prop-name">defaultEndIcon</span> | <spanclass="prop-type">node</span> || The default icon displayed next to a end node. This is applied to all tree nodes and can be overridden by the TreeItem `icon` prop. |
| <spanclass="prop-name">defaultExpandIcon</span> | <spanclass="prop-type">node</span> || The default icon used to expand the node. |
33
33
| <spanclass="prop-name">defaultParentIcon</span> | <spanclass="prop-type">node</span> || The default icon displayed next to a parent node. This is applied to all parent nodes and can be overridden by the TreeItem `icon` prop. |
34
-
| <spanclass="prop-name">onNodeToggle</span> | <spanclass="prop-type">func</span> || Callback fired when a `TreeItem` is expanded/collapsed.<br><br>**Signature:**<br>`function(nodeId: string, expanded: boolean) => void`<br>*nodeId:* The id of the toggled node.<br>*expanded:* The node status - If `true` the node was expanded. If `false` the node was collapsed. |
| <spanclass="prop-name">onNodeToggle</span> | <spanclass="prop-type">func</span> || Callback fired when tree items are expanded/collapsed.<br><br>**Signature:**<br>`function(nodeIds: array, expanded: boolean) => void`<br>*nodeIds:* The ids of the toggled nodes.<br>*expanded:* The nodes' status - If `true` the nodes were expanded. If `false` the node were collapsed. |
0 commit comments