forked from yury-dymov/react-autocomplete-input
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
1 parent
a60532b
commit 6a4ca99
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters