Skip to content

Commit

Permalink
PopoverMenuItem: more accurate itemComponent type (#75914)
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieur-z authored Apr 19, 2023
1 parent a260002 commit e6ded91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/popover-menu/item.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default class PopoverMenuItem extends Component {
onClick: PropTypes.func,
onMouseOver: PropTypes.func,
isExternalLink: PropTypes.bool,
itemComponent: PropTypes.oneOfType( [ PropTypes.func, PropTypes.string ] ),
itemComponent: PropTypes.elementType,
};

static defaultProps = {
Expand Down

0 comments on commit e6ded91

Please sign in to comment.