Skip to content

Commit

Permalink
Add a couple missing PropType/TypeScript properties
Browse files Browse the repository at this point in the history
  • Loading branch information
jakezatecky committed Sep 5, 2018
1 parent ee61105 commit d670ed0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ declare module "react-checkbox-tree" {
disabled?: boolean;
icon?: JSX.Element;
showCheckbox?: boolean;
title?: string;
}

interface Icons {
Expand Down
1 change: 1 addition & 0 deletions src/js/shapes/nodeShape.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const nodeShape = {
PropTypes.number,
]).isRequired,

disabled: PropTypes.bool,
icon: PropTypes.node,
showCheckbox: PropTypes.bool,
title: PropTypes.string,
Expand Down

0 comments on commit d670ed0

Please sign in to comment.