Skip to content

Commit

Permalink
fix: replace to @storybook/addon-essentials from addon-actions
Browse files Browse the repository at this point in the history
After upgrading to storybook v7, story no longer appears in the toolbar.
Since this is a feature of @storybook/addon-toolbars, adding @storybook/addon-essentials that includes it will solve this problem.
  • Loading branch information
MH4GF committed Apr 3, 2023
1 parent be0a75c commit 86a62f2
Show file tree
Hide file tree
Showing 3 changed files with 418 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/v7-managed-react/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
stories: ['../src/**/*.stories.@(js|jsx|mdx)'],
addons: [
'@storybook/addon-actions',
'@storybook/addon-essentials',
'@storybook/addon-links',
'storycap',
'@storybook/addon-mdx-gfm',
Expand Down
1 change: 1 addition & 0 deletions examples/v7-managed-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
],
"devDependencies": {
"@storybook/addon-actions": "^7.0.0",
"@storybook/addon-essentials": "^7.0.2",
"@storybook/addon-links": "^7.0.0",
"@storybook/addon-mdx-gfm": "^7.0.0",
"@storybook/addons": "^7.0.0",
Expand Down
Loading

0 comments on commit 86a62f2

Please sign in to comment.