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
Codemod: Convert module format to MDX #7418
Conversation
This pull request is automatically deployed with Now. Latest deployment for this branch: https://monorepo-git-7101-mdx-format-codemod.storybook.now.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good I guess? I don't really know the transform library well enough to read that code very meaningfully
return attrs; | ||
} | ||
|
||
// 1. If the program does not have `export default { title: '....' }, skip it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In future would we have ways of setting the title from the component displayName
?
Issue: #7101
What I did
How to test
Also: