-
Notifications
You must be signed in to change notification settings - Fork 57
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
storybook show source code #95
Comments
I'll chime in - you have a few approaches to this right now For them, some nice to haves would be to
Now, the addons that help with this: The second one is to go for the docs addon, which will replace A third option is the jsx addon but it is not officialy supported so I did not try it anywhere. |
Thanks! PropTypes would be good - but I'm thinking the source code of each example would be nice to get below the functioning example, in-case you wanted to straight-up copy and paste the example into a project or see some detail of how it worked. I tried info addon and it didn't seem to work - but it sounds like it's supposed to do what I'm hoping for. docs addon seemed more complex, so I didn't try |
my not-working PR: #99 |
storybook should show source code
The text was updated successfully, but these errors were encountered: