File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,9 +67,9 @@ class Widget extends React.Component {
67
67
68
68
| Property | Type | Description | Default |
69
69
| ------------------ | -------- | ------------------------------------------------------------------------------------------------ | ----------- |
70
- | ` nodes` | array | **Required**. Specifies the tree nodes and their children. | |
71
70
| ` checked` | array | **Required**. An array of checked node values. | |
72
71
| ` expanded` | array | **Required**. An array of expanded node values. | |
72
+ | ` nodes` | array | **Required**. Specifies the tree nodes and their children. | |
73
73
| ` onCheck` | function | **Required**. onCheck handler: ` function (checked ) {}` | |
74
74
| ` onExpand` | function | **Required**. onExpand handler: ` function (expanded ) {}` | |
75
75
| ` name` | string | Optional name for the hidden ` < input> ` element. | ` undefined ` |
Original file line number Diff line number Diff line change @@ -116,10 +116,10 @@ class Widget extends React.Component {
116
116
117
117
return (
118
118
< Tree
119
- name = "airports"
120
- nodes = { nodes }
121
119
checked = { checked }
122
120
expanded = { expanded }
121
+ name = "airports"
122
+ nodes = { nodes }
123
123
onCheck = { this . onCheck }
124
124
onExpand = { this . onExpand }
125
125
/>
You can’t perform that action at this time.
0 commit comments