Skip to content

Commit d670ed0

Browse files
committed
Add a couple missing PropType/TypeScript properties
1 parent ee61105 commit d670ed0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ declare module "react-checkbox-tree" {
99
disabled?: boolean;
1010
icon?: JSX.Element;
1111
showCheckbox?: boolean;
12+
title?: string;
1213
}
1314

1415
interface Icons {

src/js/shapes/nodeShape.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const nodeShape = {
77
PropTypes.number,
88
]).isRequired,
99

10+
disabled: PropTypes.bool,
1011
icon: PropTypes.node,
1112
showCheckbox: PropTypes.bool,
1213
title: PropTypes.string,

0 commit comments

Comments
 (0)