-
Notifications
You must be signed in to change notification settings - Fork 67
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
Not working with forwardRef
wrapped components
#67
Comments
Looks like v4 of react-docgen support this: reactjs/react-docgen#324, whether this would fix this issue I'm unsure as I think this plugin will still exit early. |
Just tested this plugin using
So if we can fix |
any chance you can issue a PR for this? If so I can test and release an upgrade |
Yes, I'm just working one up, will be with you shortly. |
Added: #68 |
fixed in |
Do you want me to create a PR to update to v3 here: |
https://github.com/storybooks/babel-plugin-react-docgen/blob/fa170793df1d9065ba4bd25238627a72e55fbcb6/src/index.js#L49
This seems to exit early when a component is generated in a
forwardRef
call:And as such does not attach any docgen data. This seems to stem from
actualNameHandler
.The text was updated successfully, but these errors were encountered: