-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
PropsTable with imported flow props does not work #129
Comments
After a bit of poking around, this issue seems to be down to react-docgen. (see reactjs/react-docgen#33). That issue describes a utility function that works around the problem, this probably needs including in the project to fix this issue. |
faced the same issue today, took me a while to find out what was going on 😅 |
@Swapnull can you point me what you mean by this function to work around the issue? |
@weslleyaraujo I think he is referring to this solution - https://github.com/siddharthkp/react-docgen-external-proptypes-handler |
I'll close this issue in favor of #240, since both is related to pass custom config to react docgen! |
When i use PropsTable with flow props, which described near Component, all working good:
But if i use props, which described in another file, they are not shown:
types.js
Any ideas, why?
The text was updated successfully, but these errors were encountered: