Skip to content

Add support for new prop-types package #172

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

Merged
merged 1 commit into from
Apr 13, 2017

Conversation

sawyerh
Copy link
Contributor

@sawyerh sawyerh commented Apr 11, 2017

This resolves #171.

React 15.5.0 introduced a new prop-types package and deprecated React.PropTypes. Currently react-docgen doesn't recognize the prop-types package as a React module, so it sets the type to custom for all PropTypes.

@sapegin
Copy link
Contributor

sapegin commented Apr 12, 2017

@fkling Could you please merge it and publish a new release?

@fkling
Copy link
Member

fkling commented Apr 13, 2017

Thank you!

@fkling fkling merged commit d19d73d into reactjs:master Apr 13, 2017
fkling pushed a commit that referenced this pull request Apr 13, 2017
@fkling
Copy link
Member

fkling commented Apr 13, 2017

Publish in v2.14.0 and v3.0.0-beta3.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support new prop-types package
4 participants