-
-
Notifications
You must be signed in to change notification settings - Fork 296
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
Support for compound components #775
Comments
I have the same issue. We define our compound components the same way, using I tried |
I am running into the same problem. Did you find a workaround? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been playing around with the latest beta, and while it works well for many cases, I could not get it to work with compound components.
A compound component generally looks like this:
I'm defining it as follows:
I would guess that
react-docgen
would need to support a few different things here:PolymorphicComponent
utility). related: Implicitly typedprops
in FunctionComponent not found #590Object.assign
declaration and reading jsdoc from thereThe text was updated successfully, but these errors were encountered: