Skip to content

Commit

Permalink
fix(core-chevron-link): prop type warnings for reactRouterLinkComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
jraff authored and marcod1419 committed Mar 25, 2020
1 parent fcf1189 commit 3b3d7f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ChevronLink/ChevronLink.jsx
Expand Up @@ -97,7 +97,7 @@ ChevronLink.propTypes = {
/**
* React Router Link component.
*/
reactRouterLinkComponent: PropTypes.func,
reactRouterLinkComponent: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
/**
* Target URL (if using 'reactRouterLinkComponent')
*/
Expand Down

0 comments on commit 3b3d7f2

Please sign in to comment.