-
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
Ensure playground stories have working controls #10751
Comments
Process
export default {
// ...
parameters: {
// ...
controls: {
hideNoControlsWarning: true,
},
},
argTypes: {
children: {
table: {
disable: true,
},
},
},
};
How-to's
Questions
Observations
Approaches
|
Goals
Options
Questions
What's done in the industry?
Preferences
Options
|
Just an fyi @tay1orjones and @tw15egan I am handling
For TextInput in this pr => #12139 I also plan to open a pr to help out with more of these soon |
Thanks @TannerS! |
I had a question for the team. here is a screenshot with numbers relating to my quesitons
does that mean too do both files? they both need playgrounds?
thanks in advance |
|
Every component in the storybook sidebar should have a Playground story, those stories should have operable controls.
High level checklist for each component:
.stories.js
file out ofnext
folder, or create.stories.js
file and copy contents of*-story.js
file over.knobs
package and usage.argtypes
to playground story...args
to playground story, spread them on the applicable component(s)FAQ:
Checklist
/next
and export toggle #12351components/Heading/Heading-story.js/next
and export toggle #12352components/Loading/Loading-story.js
playground, controls #12162/next
and export toggle #12356/next
folder cleanupOverflowMenuItem
,OverflowMenuv2
,TimePickerSelect
#12664The text was updated successfully, but these errors were encountered: