-
-
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
Addon-Toolbars: Global args support in the toolbar #10028
Conversation
Thanks for creating this! The first look really promising to me. It did solve the pain point I was facing on porting the addon with other frameworks. Really well done guys! I will dive in deeper to see if anything I can suggest to make it even better. |
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, great stuff
@shilman where do the icons come from? e.g. where can I know which icons I can use? |
Issue: N/A
What I did
Created
addon-toolbars
, an evolution ofaddon-contexts
, based on Storybook's new Global Args feature and decorators.This addon allows people to easily create custom toolbars that set global variables which are accessible from within decorators and stories. See included README for details.
How to test
See included toolbar stories in
official-storybook