パッケージの詳細

@a110/storybook-expand-all

llaenowyd14.8kMIT1.1.1

Expand all sidebar items at Storybook start

storybook, addons, storybook-addons, appearance

readme

@a110/storybook-expand-all

npm version

This Storybook Add On aims to expand all the items in the sidebar when the Storybook launches in the browser.

The credit is entirely due to this issue post.

Usage

  • Install with for example yarn add -D @a110/storybook-expand-all
  • Add to the list of addons in .storybook/main.js:
      ...
      addons: [
        '@storybook/addon-links',
        '@storybook/addon-essentials',
        '@storybook/addon-interactions',
        '@a110/storybook-expand-all',
      ],
      ...