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 {
6767
6868| Property | Type | Description | Default |
6969| ------------------ | -------- | ------------------------------------------------------------------------------------------------ | ----------- |
70- | ` nodes` | array | **Required**. Specifies the tree nodes and their children. | |
7170| ` checked` | array | **Required**. An array of checked node values. | |
7271| ` expanded` | array | **Required**. An array of expanded node values. | |
72+ | ` nodes` | array | **Required**. Specifies the tree nodes and their children. | |
7373| ` onCheck` | function | **Required**. onCheck handler: ` function (checked ) {}` | |
7474| ` onExpand` | function | **Required**. onExpand handler: ` function (expanded ) {}` | |
7575| ` 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 {
116116
117117 return (
118118 < Tree
119- name = "airports"
120- nodes = { nodes }
121119 checked = { checked }
122120 expanded = { expanded }
121+ name = "airports"
122+ nodes = { nodes }
123123 onCheck = { this . onCheck }
124124 onExpand = { this . onExpand }
125125 />
You can’t perform that action at this time.
0 commit comments