Skip to content

Commit eaef5b0

Browse files
Colin Taylorryanflorence
authored andcommitted
add proptype for link
1 parent dc9340f commit eaef5b0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎src/index.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,10 @@ let Link = forwardRef(({ innerRef, ...props }, ref) => (
427427
</BaseContext.Consumer>
428428
));
429429

430+
Link.propTypes = {
431+
to: PropTypes.string.isRequired,
432+
}
433+
430434
////////////////////////////////////////////////////////////////////////////////
431435
function RedirectRequest(uri) {
432436
this.uri = uri;

0 commit comments

Comments
 (0)