包详细信息

@a110/storybook-expand-all

llaenowyd14.8kMIT1.1.1

Expand all sidebar items at Storybook start

storybook, addons, storybook-addons, appearance

自述文件

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