Skip to content
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

ability to set default addon tab per stories module #11375

Closed
jayarjo opened this issue Jul 1, 2020 · 2 comments
Closed

ability to set default addon tab per stories module #11375

jayarjo opened this issue Jul 1, 2020 · 2 comments

Comments

@jayarjo
Copy link

jayarjo commented Jul 1, 2020

Would be great to have a way to set default addon panel. For some stories actions to be default, for others it'd better be controls, and then there might be several additional addons enabled too.

Something like activeAddonTab as one of the options in default export would do.

@shilman
Copy link
Member

shilman commented Jul 2, 2020

It looks like such a thing already exists:

https://github.com/storybookjs/storybook/blob/next/examples/official-storybook/stories/addon-a11y/base-button.stories.js#L10-L12

@jayarjo
Copy link
Author

jayarjo commented Jul 6, 2020

Awesome!

@jayarjo jayarjo closed this as completed Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants