We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using @reach/router's Link component fails the propTypes validation:
Warning: Failed prop type: Invalid prop `component` supplied to `ListItem`.
https://codesandbox.io/s/pjjpmw7zv7
The text was updated successfully, but these errors were encountered:
found the issue here: facebook/prop-types#200 it's because of the forwardRef thing.. it kinda messes up the component type.
Sorry, something went wrong.
@mlaursen what do you want to do with this? can I send a PR that adds PropTypes.object to the proptypes definition for those props?
PropTypes.object
Sorry for the delay!
That's interesting. I think updating this to be PropTypes.object will be a good workaround then. I'd be happy to accept a PR
forwardRef
This should now be fixed in v1.7.2
No branches or pull requests
Description
Using @reach/router's Link component fails the propTypes validation:
Link to a gist or code sample where the issue can be reproduced
https://codesandbox.io/s/pjjpmw7zv7
The text was updated successfully, but these errors were encountered: