-
Notifications
You must be signed in to change notification settings - Fork 32
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
Export + Export Default + React Hooks #46
Comments
More on Hooks: I had a wrapper component in a decorator which i moved to the addWithJSX fn and the error doesnt throw now. Problem is i cant get the wrapper to not render in the jsx preview |
Why closed it? I met the same issure, too. |
hooks issue tracking in #84 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, Thanks for the awesome plugin.
Currently I am using typescript + docgen to get a prop table for my components. To do this I have to export my component as default export + non default:
when I add
export function Component() {}
i get the following error from react 16.7.0-alphaThe text was updated successfully, but these errors were encountered: