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
Showing example code in storybook #10765
Showing example code in storybook #10765
Conversation
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.
lgtm
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.
Thanks so much for the PR @Rafi993! 🚀
| { | ||
| name: '@storybook/addon-storysource', | ||
| loaderOptions: { | ||
| prettierConfig: { |
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.
@Rafi993, as a follow up PR, we could pull out the prettier config from package.json and make it its own file (a JS configuration file) which could be imported here so that we do not need to maintain two prettier configurations. For more information on this, see the Configuration File documentation for Prettier.
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.
Awesome. I'll create a pr for that.
|
Thanks so much for the PR @Rafi993! 🔥 |
Co-authored-by: Nick Taylor <nick@dev.to>
What type of PR is this?
Description
It shows example code in storybook that user can copy
Related Tickets & Documents
QA Instructions, Screenshots, Recordings
Added tests?
Added to documentation?