Skip to content

Commit f7eef6c

Browse files
committed
fix(HeaderDropdown): add missing Dropdown.propTypes
1 parent f7cf829 commit f7eef6c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
##### `v2.5.1`
44

55
- fix(SidebarNav): add missing `class` and `attributes` to navDropdown item
6+
- fix(HeaderDropdown): add missing Dropdown.propTypes
67

78
###### dependencies update
89
- update `core-js` to `^2.6.8`

src/HeaderDropdown.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import PropTypes from 'prop-types';
44

55
const propTypes = {
66
children: PropTypes.node,
7-
direction: PropTypes.string
7+
direction: PropTypes.string,
8+
...Dropdown.propTypes
89
};
910

1011
const defaultProps = {

0 commit comments

Comments
 (0)