Skip to content

Commit d31cc67

Browse files
committed
Add missing expandAll and collapseAll keys to PropTypes and TypeScript definitions
1 parent f8751e3 commit d31cc67

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ declare module "react-checkbox-tree" {
1717
uncheck?: JSX.Element;
1818
halfCheck?: JSX.Element;
1919
expandClose?: JSX.Element;
20+
expandAll?: JSX.Element;
21+
collapseAll?: JSX.Element;
2022
parentClose?: JSX.Element;
2123
parentOpen?: JSX.Element;
2224
leaf?: JSX.Element;

src/js/shapes/iconsShape.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ const icons = PropTypes.shape({
66
halfCheck: PropTypes.node,
77
expandClose: PropTypes.node,
88
expandOpen: PropTypes.node,
9+
expandAll: PropTypes.node,
10+
collapseAll: PropTypes.node,
911
parentClose: PropTypes.node,
1012
parentOpen: PropTypes.node,
1113
leaf: PropTypes.node,

0 commit comments

Comments
 (0)