File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -73,3 +73,14 @@ class Widget extends React.Component {
73
73
| ` name ` | string | Optional name for the hidden ` <input> ` element. | ` undefined ` |
74
74
| ` nameAsArray ` | bool | If true, the hidden ` <input> ` will encode its values as an array rather than a joined string. | ` false ` |
75
75
| ` optimisticToggle ` | bool | If true, toggling a partially-checked node will select all children. If false, it will deselect. | ` true ` |
76
+
77
+ ### Node Properties
78
+
79
+ Individual nodes within the ` nodes ` property can have the following structure:
80
+
81
+ | Property | Type | Description |
82
+ | ---------- | ------ | ------------------------------- |
83
+ | ` label ` | string | ** Required** . The node's label. |
84
+ | ` value ` | mixed | ** Required** . The node's value. |
85
+ | ` children ` | array | An array of child nodes. |
86
+ | ` icon ` | mixed | A custom icon for the node. |
You can’t perform that action at this time.
0 commit comments