-
-
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
Addon-centered: Ability to disable for specific story #7709
Addon-centered: Ability to disable for specific story #7709
Conversation
This pull request is automatically deployed with Now. Latest deployment for this branch: https://monorepo-git-fork-mariocadenas-feature-addon-cente-cedc71.storybook.now.sh |
I'm adding this to support everything and not only react =) |
Awesome @MarioCadenas 🎖 |
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 & tested!
addon-centered
What I did
I used the makeDecorator function to wrap centered function, so you can disable addon centered by passing disable parameter in the storie.
How to test
You can see it working in the
examples/official-storybook
storybook.