Skip to content

Commit

Permalink
fix(core-link): prop type warnings for reactRouterLinkComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
jraff committed Mar 23, 2020
1 parent 110c121 commit e199485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/Link/Link.jsx
Expand Up @@ -127,7 +127,7 @@ Link.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 e199485

Please sign in to comment.