-
Notifications
You must be signed in to change notification settings - Fork 28
Add option to add info in a panel instead of in the iframe #42
Comments
+1 for first one: I think it's not possible to render component in I strongly agree that wrapping actual component with info isn't good, and also Storybook team seems to think so.
Sorry, I don't know whether it's easy or not (I'm not familiar with addon panel...). |
As a side note: I don't think having the info around the preview is bad, it's actually the thing you want for styleguides, BUT it's the fact that they are both in the same iframe that's not good. So if only storybook would allow plugins to put things around the iframe... |
I agree with having it in a panel as opposed to in an iframe. Currently, the |
Implemented in #70 (version 1.0.0-alpha.7) |
Having all extra info in the iframe isn't that good, because your styling/scripts of the actual component and the info around it can interfere with each other. This is something to be avoided. I have been creating toolkit for a long time now, and you really don't want to have this. Therefore two things can be done:
I didn't look at the code, but I assume it isn't that much work to add the option to render the info in a side panel?
The text was updated successfully, but these errors were encountered: