File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -144,15 +144,15 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
144
144
| Property | Type | Description | Default |
145
145
| -------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------- | ----------- |
146
146
| ` nodes ` | array | ** Required** . Specifies the tree nodes and their children. | |
147
- | ` checked ` | array | An array of checked node values. | ` [] ` |
148
147
| ` checkModel ` | bool | Specifies which nodes should be stored in the ` checked ` array. Accepts ` 'leaf' ` or ` 'all' ` . | ` 'leaf' ` |
148
+ | ` checked ` | array | An array of checked node values. | ` [] ` |
149
149
| ` disabled ` | bool | If true, the component will be disabled and nodes cannot be checked. | ` false ` |
150
150
| ` expandDisabled ` | bool | If true, the ability to expand nodes will be disabled. | ` false ` |
151
151
| ` expandOnClick ` | bool | If true, nodes will be expanded by clicking on labels. Requires a non-empty ` onClick ` function. | ` false ` |
152
+ | ` expanded ` | array | An array of expanded node values. | ` [] ` |
152
153
| ` icons ` | object | An object containing the mappings for the various icons and their components. See ** Changing the Default Icons** . | ` { ... } ` |
153
154
| ` iconsClass ` | string | A string that specifies which icons class to utilize. Currently, ` 'fa4' ` and ` 'fa5' ` are supported. | ` 'fa4' ` |
154
155
| ` id ` | string | A string to be used for the HTML ID of the rendered tree and its nodes. | ` null ` |
155
- | ` expanded ` | array | An array of expanded node values. | ` [] ` |
156
156
| ` lang ` | object | An object containing the language mappings for the various text elements. | ` { ... } ` |
157
157
| ` name ` | string | Optional name for the hidden ` <input> ` element. | ` undefined ` |
158
158
| ` nameAsArray ` | bool | If true, the hidden ` <input> ` will encode its values as an array rather than a joined string. | ` false ` |
You can’t perform that action at this time.
0 commit comments