From f9efc69137700f3427cec4204754bea25eaa1f93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sk=C3=B6ld?= Date: Wed, 27 Sep 2017 15:31:38 +0200 Subject: [PATCH] Added PropType (#3003) This should avoid the angry console warnings when trying to override the default scroll behavior using `` --- lib/link.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/link.js b/lib/link.js index 6af31e54..c8b9378e 100644 --- a/lib/link.js +++ b/lib/link.js @@ -21,6 +21,7 @@ export default class Link extends Component { replace: PropTypes.bool, shallow: PropTypes.bool, passHref: PropTypes.bool, + scroll: PropTypes.bool, children: PropTypes.oneOfType([ PropTypes.element, (props, propName) => {