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 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
Original file line number Diff line number Diff 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 ` |
You can’t perform that action at this time.
0 commit comments