Skip to content

Conversation

oliver-ni
Copy link
Contributor

PropTypes.elementType is the right prop type to expect a component. Using PropTypes.func as it currentl is causes issues with class components.

@ethanshar ethanshar self-requested a review February 9, 2020 17:38
@ethanshar ethanshar self-assigned this Feb 9, 2020
@ethanshar ethanshar merged commit 2a40f02 into wix:master Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants