Skip to content

Commit 8618ae0

Browse files
Update component-docs.json
1 parent 3409567 commit 8618ae0

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

components/component-docs.json

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17288,26 +17288,6 @@
1728817288
"tree": {
1728917289
"description": "A tree is visualization of a structure hierarchy. A branch can be expanded or collapsed. This is a controlled component, since visual state is present in the `nodes` data.",
1729017290
"methods": [
17291-
{
17292-
"name": "flattenTree",
17293-
"docblock": null,
17294-
"modifiers": [],
17295-
"params": [
17296-
{
17297-
"name": "root",
17298-
"type": null
17299-
},
17300-
{
17301-
"name": "treeIndex",
17302-
"type": null
17303-
},
17304-
{
17305-
"name": "firstLevel",
17306-
"type": null
17307-
}
17308-
],
17309-
"returns": null
17310-
},
1731117291
{
1731217292
"name": "handleSelect",
1731317293
"docblock": null,
@@ -17401,7 +17381,7 @@
1740117381
"required": false,
1740217382
"description": "A function that will be called by every branch to receive its child nodes. The parent `node` object with the branch data is passed into this function: `getNodes(node)`. If your state engine is Flux or Redux, then your tree data structure will probably be flattened or normalized within the store. This will allow you to build out your tree without transversing an actual tree of data and may be more performant.",
1740317383
"defaultValue": {
17404-
"value": "(node) => node.nodes",
17384+
"value": "(node) => {console.log(node.nodes); return node.nodes}",
1740517385
"computed": false
1740617386
}
1740717387
},

0 commit comments

Comments
 (0)