-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Inherit comments from spread prop types #792
Labels
react-docgen
Issues in react-docgen library
Comments
I think this is something that react-docgen (which parses js files for info for react-styleguidist to consume) should do. |
Thanks, I'll cross post it there too. reactjs/react-docgen#246 |
I’m going to close this for now, because there’s nothing we can do on our side. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I haven't seen this anywhere in the documentation, and it definitely is not supported right now, but it would be great if the docs could inherit comments from objects who were spread into
propTypes
, like the following.As it stands, styleguidist shows the
bar
prop, but without a comment.The text was updated successfully, but these errors were encountered: