File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 4
4
5
5
### New Features
6
6
7
- * [ #13 ] : Add ` checkModel ` property to specify which nodes should be stored in the ` checked ` array
7
+ * [ #13 ] : Add ` checkModel ` property to specify which nodes should be stored in the ` checked ` array (currently ` "all" ` and ` "leaf" ` supported)
8
8
* [ #126 ] : Add ` iconsClass ` property and allow ` 'fa5' ` to fully support Font Awesome 5 icons
9
+ * [ #171 ] : Allow parent nodes to have an empty ` children ` array
9
10
10
11
### Bug Fixes
11
12
12
13
* [ #127 ] : Change TypeScript definition of TreeNode's ` label ` property to ` React.ReactNode ` to better align with the PropType
14
+ * [ #145 ] : Fix alignment of many React properties to TypeScript typings
13
15
14
16
## [ v1.5.0] ( https://github.com/jakezatecky/react-checkbox-tree/compare/v1.4.1...v1.5.0 ) (2019-01-25)
15
17
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
143
143
| Property | Type | Description | Default |
144
144
| -------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------- | ----------- |
145
145
| ` nodes ` | array | ** Required** . Specifies the tree nodes and their children. | |
146
- | ` checkModel ` | bool | Specifies which nodes should be stored in the ` checked ` array. Accepts ` 'leaf' ` or ` 'all' ` . | ` 'leaf' ` |
146
+ | ` checkModel ` | bool | Specifies which checked nodes should be stored in the ` checked ` array. Accepts ` 'leaf' ` or ` 'all' ` . | ` 'leaf' ` |
147
147
| ` checked ` | array | An array of checked node values. | ` [] ` |
148
148
| ` disabled ` | bool | If true, the component will be disabled and nodes cannot be checked. | ` false ` |
149
149
| ` expandDisabled ` | bool | If true, the ability to expand nodes will be disabled. | ` false ` |
You can’t perform that action at this time.
0 commit comments