-
-
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
Can toolbar addons appear on DocsPage Previews? #10366
Comments
Looks like this is related to #6700. I assume there will be some refactoring required before it all works together? |
Also related: #8521 |
gonna close this as dupe to #8521 |
Sorry this is a different issue. 🙈 reopening |
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! |
Each addon registers toolbars for the viewModes that it supports. Most addons only support Closing this. LMK if you think there's more to be done! |
@shilman thanks. Are there any plans to change some of the other official addons to be available in docs too? |
Is your feature request related to a problem? Please describe.
I'd like to be able to use toolbar addons, such as
@storybook/addon-backgrounds
, in conjunction with DocsPage as per the image shown here: https://github.com/storybookjs/storybook/blob/next/addons/docs/docs/media/hero.png<Preview withToolbar>
currently only renders the default buttons for zooming and opening in a new window.Describe the solution you'd like
An example of how to configure the docs addon to display the
@storybook/addon-backgrounds
buttonAre you able to assist bring the feature to reality?
yes, I'd be happy to collaborate with someone to make this a reality
The text was updated successfully, but these errors were encountered: