-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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 table not displaying in MDX but does JS #9977
Comments
Looks like you need to import |
Also your js file may be overriding your MDX. Try
|
Definitely the lack of Wonder if there's a way to make MDX more strict about that... 🤔 |
That was it! Seems so obvious now. Thanks @lpoulter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I have components that have props & defaultProps defined within them but I am unable to get the props table showing when using MDX but can when writing stories in JS.
Expected behavior
I expect the Props table to show up in the same way it does when creating the stories within JS
Actual Behavior
Component docs is missing the Props table.
Screenshots
Webpack config
I can try to give more details if needed.
The text was updated successfully, but these errors were encountered: