-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
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
propTypes warning when RefObject assigned to getInputRef #384
Comments
Reeywhaar
changed the title
propTypes warning when RefObject assigned getInputRef
propTypes warning when RefObject assigned to getInputRef
Feb 3, 2020
Fixed. |
Thank you so much! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When passing refObject (object created either by
react.createRef
orreact.useRef
) togetInputRef
, propTypes spawn warning:Solution is to amend propType to something like described here facebook/prop-types#240
Thank you!
The text was updated successfully, but these errors were encountered: