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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
With the latest update (2.1.1) I get warnings like these:
Warning: Failed prop type: Invalid prop `children` of type `function` supplied to `_class`, expected a single ReactElement.
Which are caused by this line here:
react-measure/src/with-content-rect.js
Line 18 in d18b065
Maybe it can be altered to something more loose to accommodate both Functions and ReactElements?
children: PropTypes.oneOfType([PropTypes.element, PropTypes.func])
The text was updated successfully, but these errors were encountered:
No branches or pull requests
With the latest update (2.1.1) I get warnings like these:
Which are caused by this line here:
react-measure/src/with-content-rect.js
Line 18 in d18b065
Maybe it can be altered to something more loose to accommodate both Functions and ReactElements?
The text was updated successfully, but these errors were encountered: