Skip to content

Commit

Permalink
fix(core-button-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 bd8f7f1 commit 136b731
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ButtonLink/ButtonLink.jsx
Expand Up @@ -78,7 +78,7 @@ ButtonLink.propTypes = {
/**
* React Router Link component.
*/
reactRouterLinkComponent: PropTypes.func,
reactRouterLinkComponent: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
/**
* Target URL (if using 'reactRouterLinkComponent')
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/ButtonLink/package.json
Expand Up @@ -31,7 +31,7 @@
"@tds/shared-styles": "^1.5.2",
"@tds/util-helpers": "^1.4.2",
"@tds/util-prop-types": "^1.3.2",
"prop-types": "^15.5.10"
"prop-types": "^15.7.0"
},
"devDependencies": {
"@tds/core-a11y-content": "^2.1.5"
Expand Down

0 comments on commit 136b731

Please sign in to comment.