Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use PropTypes.elementType to support wrapped components
Components wrapped in `forwardRef`do not identify as a function but as a object. Use PropTypes.elementType to allow those as well. Fixes: yury-dymov#40
- Loading branch information