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

make addon aware of active prop so storybook renders in its own panel #3

Merged
merged 1 commit into from
Oct 4, 2018
Merged

Conversation

actraiser
Copy link
Contributor

For this addon to render only in it's own "Themes"-panel in Storybook, it needs to be aware of the 'active'-prop as discussed in this issue. Right now, the addon will render in all registered panels, e.g. also within Knobs-Panel, View Port-Panel, etc.

Greets
-act

@echoulen
Copy link
Owner

echoulen commented Oct 4, 2018

Awesome!

@echoulen echoulen merged commit c99c208 into echoulen:master Oct 4, 2018
echoulen added a commit that referenced this pull request Oct 4, 2018
@dbenfouzari
Copy link

@echoulen Why did you revert this commit ?
My addon is rendered on every panels now. How can I fix that ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants