Intro to Addons 1. Decorators Wrapper Components Storybook Decorators 2. Native Addons Intro to Addons By default, Storybook comes with a way to list stories and visualize ...
Frequently Asked Questions How can I run coverage tests with Create React App and leave out stories? I see ReferenceError: React is not defined when using storybooks with Next.js ...
Options Parameter Global options Per-story options Options Parameter Storybook UI is configurable using an options API that allows you to tweak its appearance globally and fo...
Custom Webpack Config Debug the default webpack config Webpack customisation modes Full Control Mode Extend Mode (Deprecated) Using Your Existing Config Custom Webpack Con...
Structural Testing What’s Snapshot Testing? Using StoryShots Structural Testing For React, Jest’s snapshot testing is the best way to do Structural Testing.It’s painless to ...
Default Config Babel ES2016+ Support .babelrc support Webpack CSS Support Image and Static File Support JSON Loader NPM Modules Default Config Let’s learn about the def...
Writing Stories Basic story Story file location Loading stories Decorators Parameters Searching Story hierarchy Generating nesting path based on __dirname Run multiple sto...
Intro to Presets Basic usage Preset configuration Go deeper Intro to Presets Storybook presets are grouped collections of babel , webpack , and addons configurations that ...