Skip to content

llaenowyd/storybook-expand-all

Repository files navigation

@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',
      ],
      ...