We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 715e883 commit 7e5865fCopy full SHA for 7e5865f
README.md
@@ -33,16 +33,16 @@ import 'react-infinite-tree/dist/react-infinite-tree.css';
33
34
const data = {
35
id: 'fruit',
36
- label: 'Fruit',
+ name: 'Fruit',
37
children: [{
38
id: 'apple',
39
- label: 'Apple'
+ name: 'Apple'
40
}, {
41
id: 'banana',
42
- label: 'Banana',
+ name: 'Banana',
43
44
id: 'cherry',
45
- label: 'Cherry',
+ name: 'Cherry',
46
loadOnDemand: true
47
}]
48
@@ -68,11 +68,11 @@ class App extends React.Component {
68
const nodes = [
69
{
70
id: 'node1' + suffix,
71
- label: 'Node 1'
+ name: 'Node 1'
72
},
73
74
id: 'node2' + suffix,
75
- label: 'Node 2'
+ name: 'Node 2'
76
}
77
];
78
setTimeout(() => {
0 commit comments