Skip to content
This repository has been archived by the owner on Jun 22, 2020. It is now read-only.

Commit

Permalink
Merge pull request #13 from siriwatknp/develop
Browse files Browse the repository at this point in the history
fix header propTypes
  • Loading branch information
siriwatknp authored Jul 17, 2019
2 parents 56fdf20 + fb10337 commit a3678f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const Header = ({

Header.propTypes = {
style: PropTypes.shape({}),
children: PropTypes.element,
children: PropTypes.oneOfType([PropTypes.element, PropTypes.func]),
toolbarProps: PropTypes.shape({}),
renderMenuIcon: PropTypes.func,
menuButtonProps: PropTypes.shape({}),
Expand Down

0 comments on commit a3678f3

Please sign in to comment.