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
Props component doesn`t render props table with typescript #935
Comments
+1 Also have this issue |
+1 We also have this issue Another thing I've seen is that there's a warning saying: I don't know if it is related or not. If we check the component in the devtools, it is kust empty... |
+1 But sometimes it's works |
+1 here, same issue |
1 similar comment
+1 here, same issue |
+1 |
+1 🤔 |
+1 |
2 similar comments
+1 |
+1 |
How can I contribute to this project? Any documentation about? |
+1 |
Same for non-typescript environment |
Wow, this took some time, but after digging deeper into the source, I found two reasons, why it won't render any props for me. Now I got it rendering, even when just hacked into node_modules 😏 Thats broken (for me):Everything in
|
well...just add code below to docz.js and it works for me #941 (comment)
|
@gogoyqj can you share your doczrc.js, It will be helpful to others! |
@beeeku Works!, change your export default {
filterComponents: (files) =>
files.filter(filepath => /[w-]*.(js|jsx|ts|tsx)$/.test(filepath)),
} Note: First remove your .docz and try it! 🍻 |
Can't Confirm Why But This WORKS !!! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I had a similar issue, and with I just had to delete |
@PaulieScanlon do your props update when you change the component definition? I can get the props to refresh if I stop dev server, delete |
I had a similar issue and it was because the props table it was trying to render was for the component exported from the file |
Bug Report
docz config
my component
use in mdx file
but unfortunately it is not render table
Current behavior
Props Component doesn't render table with props
Expected behavior
Props component should render table with props
Also try to run official docz typescript example, but still not render table
Environment
The text was updated successfully, but these errors were encountered: