Skip to content

Commit aa95bf4

Browse files
committed
Correct property ordering
1 parent 420a60c commit aa95bf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ class Widget extends React.Component {
9292
| `nodes` | array | **Required**. Specifies the tree nodes and their children. | |
9393
| `checked` | array | An array of checked node values. | `[]` |
9494
| `expanded` | array | An array of expanded node values. | `[]` |
95-
| `onCheck` | function | onCheck handler: `function(checked) {}` | `() => {}` |
96-
| `onExpand` | function | onExpand handler: `function(expanded) {}` | `() => {}` |
9795
| `name` | string | Optional name for the hidden `<input>` element. | `undefined` |
9896
| `nameAsArray` | bool | If true, the hidden `<input>` will encode its values as an array rather than a joined string. | `false` |
9997
| `optimisticToggle` | bool | If true, toggling a partially-checked node will select all children. If false, it will deselect. | `true` |
10098
| `showNodeIcon` | bool | If true, each node will show a parent or leaf icon. | `true` |
99+
| `onCheck` | function | onCheck handler: `function(checked) {}` | `() => {}` |
100+
| `onExpand` | function | onExpand handler: `function(expanded) {}` | `() => {}` |
101101

102102
#### Node Properties
103103

0 commit comments

Comments
 (0)