Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for react components with no propTypes #6

Closed
wants to merge 2 commits into from

Conversation

laddhoffman
Copy link

@laddhoffman laddhoffman commented Aug 11, 2020

Simple change to enable this library to support React components without propTypes. Includes test. Had to fix a small issue with another test as well (needed to reset console.error when test was done).

@laddhoffman laddhoffman changed the title add support for react components with no props add support for react components with no propTypes Aug 11, 2020
@laddhoffman laddhoffman reopened this Aug 11, 2020
@laddhoffman
Copy link
Author

Well I found that I had to use propTypes anyway to get props to work at all. So, closing this PR again.

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.

1 participant