Closed silverwind closed 4 years ago
Components wrapped in forwardRefdo not identify as a function but as a object. Use PropTypes.elementType to allow those as well.
forwardRef
PropTypes.elementType
Fixes: https://github.com/yury-dymov/react-autocomplete-input/issues/40
@yury-dymov any chance to see this merged? I want to stop using my fork :)
@silverwind Thank you for contribution, was very busy, merging and publishing!
Components wrapped in
forwardRef
do not identify as a function but as a object. UsePropTypes.elementType
to allow those as well.Fixes: https://github.com/yury-dymov/react-autocomplete-input/issues/40