@toptal/davinci-storybook-addons

3.0.1 • Public • Published

@toptal/davinci-storybook-addons

Addons for davinci-based storybook for the best developer experience

Usage

Add davinci-storybook-addons to your project:

yarn add -D @toptal/davinci-storybook-addons

And then add the following line to your .storybook/main.js:

module.exports = {
  addons: ['@toptal/davinci-storybook-addons'],
}

Configuration

Davinci Storybook Addons package is "zero config". It works out of the box and no additional configuration is needed.

Disabling addons

If you don't want to use some specific plugin, you can disable it by using following configuration in .storybook/main.js:

module.exports = {
  addons: [{
    name: '@toptal/davinci-storybook-addons',
    options: {
      <addon-key>: false
    }
  }],
}

Valid addon keys can be any value from the Contents section

Customizing addons

You can provide addon specific options in .storybook/main.js as follows:

module.exports = {
  addons: [{
    name: '@toptal/davinci-storybook-addons',
    options: {
      '@storybook/addon-docs': {
        transcludeMarkdown: true,
      },
    },
  }]
}

Contents

Here's a list of all addons used in davinci-storybook-addons package

Official Storybook addons

Custom addons

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @toptal/davinci-storybook-addons

Weekly Downloads

5,234

Version

3.0.1

License

SEE LICENSE IN LICENSE.MD

Unpacked Size

26.6 kB

Total Files

18

Last publish

Collaborators

  • talbot