-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
docs(DataTable): add playground story #6842
docs(DataTable): add playground story #6842
Conversation
Deploy preview for carbon-elements ready! Built with commit 1010647 |
Deploy preview for carbon-components-react ready! Built without sensitive environment variables with commit 1010647 https://deploy-preview-6842--carbon-components-react.netlify.app |
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.
Ah, totally blanked on the knobs. Thanks for adding in the playground example. Left a couple of comments, namely that for most stories we want people to be able to copy and paste them without any problems. The playground story is different though and doesn't need to follow this example since it uses knobs 👍
56f098e
to
85d2ab2
Compare
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.
Seems cool to me pending @tw15egan 's changes 🏄
85d2ab2
to
b19e83c
Compare
This PR adds a playground story to the DataTable docs so that props like
useZebraStyles
,size
, andstickyHeader
can be tested and applied. This is useful for devs and designers when confirming positioning and alignment issues in tablesChangelog
New
Changed
Testing / Reviewing
Ensure the storybook knobs for the default data table stories are correct as well as the playground story