Storybook Parameters are how we configure Storybook features and addons. Use Parameters to model your development environment, configure UI testing options, and integrate with terrific community addons. Follow this quick tutorial with @chantastic!
Timestamps:
00:00:00 Intro to Storybook Parameters
00:00:28 Parameters control rendering environment and addons
00:00:51 Apply parameters to individual stories
00:01:23 Apply parameters at the component level
00:01:46 Apply parameters to an entire Storybook
00:02:18 Beware: New Storybook 7 Preview syntaxes
00:02:54 Learn more about the Viewports addon…
Related Articles:
Parameters documentation: https://storybook.js.org/docs/react/w...
Defining global Parameters in v6: https://storybook.js.org/docs/react/w...
Background Essential Addon documentation: https://storybook.js.org/docs/react/e...
Storybook at https://learnstorybook.com/
Storybook addons at https://storybook.js.org/addons
Component driven UI development at https://www.componentdriven.org/
Follow Storybook on social media:
Discord: / discord
Twitter: / storybookjs
GitHub: https://github.com/storybookjs/storybook
Follow chantastic:
Twitter: / chantastic
YouTube: @chantastic
Sponsored by Chromatic:
Chromatic is made by Storybook maintainers and sets up in just 2 minutes.
Claim free Storybook hosting at https://www.chromatic.com/!