Commit 2e09f79d authored by Brikou CARRE's avatar Brikou CARRE Committed by Tim Neutkens

Mark href propType as required (#2882)

parent 32d9b75d
...@@ -15,7 +15,7 @@ export default class Link extends Component { ...@@ -15,7 +15,7 @@ export default class Link extends Component {
} }
static propTypes = exact({ static propTypes = exact({
href: PropTypes.oneOfType([PropTypes.string, PropTypes.object]), href: PropTypes.oneOfType([PropTypes.string, PropTypes.object]).isRequired,
as: PropTypes.oneOfType([PropTypes.string, PropTypes.object]), as: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
prefetch: PropTypes.bool, prefetch: PropTypes.bool,
replace: PropTypes.bool, replace: PropTypes.bool,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment