-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Story source incorrectly rendered as "MDXCreateElement" #16999
Comments
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Bump |
Excluding decorators from the source code did it for me.
|
We’re cleaning house! Storybook has changed a lot since this issue was created and we don’t know if it’s still valid. Please open a new issue referencing this one if:
|
Describe the bug
Note that this issue relates to #12596 (which has been closed.)
When using an MDX story, certain decorators will incorrectly render the template component as
MDXCreateElement
.In this example I am using
react-intl
IntlProvider
as a decorator. Without this it works (i.e. using adiv
is fine as long as you callStory()
instead of rendering as<Story />
.To Reproduce
https://github.com/robcaldecott/storybook-display-name
System
The text was updated successfully, but these errors were encountered: