-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/storybook #9
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
Conversation
| /> | ||
|
|
||
| <Story | ||
| name="Disabled" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have to write this all up or does storybook generate it from our components? Some of the stories like 'Disabled' might not be essential as they can be set by the prop on the other stories.
hobbitronics
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work Ryan. I can't wait to see what other benefits we can gain from this like documentation generation.
briskt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's all new to me, so I don't have much to add to the review. Looks encouraging, though!
Adds storybook. You can run with
npm run dev. You will see some babel warnings. I tried for a while to resolve it but can't. Will try again in the future.This leverages a github action to run
npm run build, commits, & pushes to the gh-pages branch which is hosted here: https://silinternational.github.io/ui-components/index.htmlWe can also automatically deploy to npm using this approach.