书栈网 · BookStack 本次搜索耗时 0.026 秒,为您找到 87 个相关结果.
  • Intro to Addons

    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

    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

    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...
  • API

    API Core Addon API addons.getChannel() addons.register() addons.add() makeDecorator API Storybook hooks useStorybookState useStorybookApi useChannel useAddonState usePara...
  • Custom Webpack Config

    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

    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

    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

    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

    Intro to Presets Basic usage Preset configuration Go deeper Intro to Presets Storybook presets are grouped collections of babel , webpack , and addons configurations that ...
  • Writing Presets

    Writing Presets Presets API Babel Webpack Addons Entries Advanced Configuration Writing Presets Storybook presets are grouped collections of babel , webpack , and addons...