Skip to content

Commit

Permalink
Add missing expandAll and collapseAll keys to PropTypes and TypeS…
Browse files Browse the repository at this point in the history
…cript definitions
  • Loading branch information
jakezatecky committed Sep 6, 2018
1 parent f8751e3 commit d31cc67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ declare module "react-checkbox-tree" {
uncheck?: JSX.Element;
halfCheck?: JSX.Element;
expandClose?: JSX.Element;
expandAll?: JSX.Element;
collapseAll?: JSX.Element;
parentClose?: JSX.Element;
parentOpen?: JSX.Element;
leaf?: JSX.Element;
Expand Down
2 changes: 2 additions & 0 deletions src/js/shapes/iconsShape.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ const icons = PropTypes.shape({
halfCheck: PropTypes.node,
expandClose: PropTypes.node,
expandOpen: PropTypes.node,
expandAll: PropTypes.node,
collapseAll: PropTypes.node,
parentClose: PropTypes.node,
parentOpen: PropTypes.node,
leaf: PropTypes.node,
Expand Down

0 comments on commit d31cc67

Please sign in to comment.