-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Components: Add stories for Icon and IconButton #17868
Conversation
This update adds some initial Storybook stories for the Icon and IconButton component. Most of the stories were derived from the component's README.md documentation. Additional stories were added to showcase prop variation (e.g. `Icon` size), as well as composition (e.g. `IconButton` grouping). In order to render certain UI for the stories, some simple stateless functional components were created in the `.stories.js` file.
@epiqueras do we have a live deploy in netlify for these PRs? How can we get the URL? |
Aside: it was discussed some time ago that it might make sense to deprecate |
@gziolo Thanks for that context! In that case, should I remove the |
I guess it's fine to proceed. We will have to keep |
😅 |
@youknowriad The link is in the PR checks, You'll need to manually add I just updated the Netlify config to match the new order of build scripts though, so we'll need a new commit in this PR to trigger a new build. |
@epiqueras https://deploy-preview-17868--gutenberg-playground.netlify.com/design-system/components This doesn't seem to work? |
|
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.
Thanks for moving this forward! 😄 🚀
This update adds some initial Storybook stories for the Icon and IconButton
component.
Most of the stories were derived from the component's README.md documentation.
Additional stories were added to showcase prop variation (e.g.
Icon
size),as well as composition (e.g.
IconButton
grouping).In order to render certain UI for the stories, some simple stateless
functional components were created in the
.stories.js
file.