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
A quick usage example is included below. Note that the react-checkbox-tree component is [controlled](https://facebook.github.io/react/docs/forms.html#controlled-components). In other words, it is stateless. You must update its `checked` and `expanded` properties whenever a change occurs.
26
26
27
27
```javascript
28
+
importReactfrom'react';
28
29
importCheckboxTreefrom'react-checkbox-tree';
29
30
30
31
constnodes= [{
@@ -35,7 +36,7 @@ const nodes = [{
35
36
title:'Leaf Node 1-1',
36
37
}, {
37
38
value:'node-1-2',
38
-
title:'Leaf Node 1-2'
39
+
title:'Leaf Node 1-2',
39
40
}],
40
41
}];
41
42
@@ -54,7 +55,6 @@ class Widget extends React.Component {
0 commit comments