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

Enhancements to Component Proptypes #29

Closed
BrandonDenham opened this issue Oct 17, 2019 · 1 comment
Closed

Enhancements to Component Proptypes #29

BrandonDenham opened this issue Oct 17, 2019 · 1 comment

Comments

@BrandonDenham
Copy link
Contributor

Started using the @component tag and was hoping there could be some new features:

Support for @ignore on a propType - sometimes certain props are connected to context/redux/hoc/etc and don't need a particular prop documented.

Ability to overwrite the prop "type" with a typedef or standard jsdoc type. PropTypes.shape, for instance isn't specific enough for some use cases.

wojtek-krysiak added a commit that referenced this issue Jul 2, 2020
wojtek-krysiak added a commit that referenced this issue Jul 2, 2020
@wojtek-krysiak
Copy link
Contributor

@BrandonDenham - we use react-docgen package when parsing prop types. I've upgraded it to the latest version so maybe it will have more features

github-actions bot pushed a commit that referenced this issue Jul 2, 2020
# [2.2.0](v2.1.0...v2.2.0) (2020-07-02)

### Features

* upgrade react docgen [#29](#29) ([31bd769](31bd769))
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

No branches or pull requests

2 participants