Skip to content

Commit 59745da

Browse files
committed
Add missing CHANGELOG entries and clarify on checkModel
1 parent f9dab20 commit 59745da

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@
44

55
### New Features
66

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)
88
* [#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
910

1011
### Bug Fixes
1112

1213
* [#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
1315

1416
## [v1.5.0](https://github.com/jakezatecky/react-checkbox-tree/compare/v1.4.1...v1.5.0) (2019-01-25)
1517

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
143143
| Property | Type | Description | Default |
144144
| -------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------- | ----------- |
145145
| `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'` |
147147
| `checked` | array | An array of checked node values. | `[]` |
148148
| `disabled` | bool | If true, the component will be disabled and nodes cannot be checked. | `false` |
149149
| `expandDisabled` | bool | If true, the ability to expand nodes will be disabled. | `false` |

0 commit comments

Comments
 (0)