Addons for davinci-based storybook for the best developer experience
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'],
}
Davinci Storybook Addons package is "zero config". It works out of the box and no additional configuration is needed.
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
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,
},
},
}]
}
Here's a list of all addons used in davinci-storybook-addons
package