diegohaz / arc

React starter kit based on Atomic Design
https://arc.js.org
2.92k stars 292 forks source link

Customizing Storybook #345

Open alexwine36 opened 6 years ago

alexwine36 commented 6 years ago

I apologize for the ignorant question but all of the tutorials I have found for customizing storybook with addons are on pretty vanilla react configurations does anyone happen to have an example of how to put addons into storybook with the ARC setup?

BrenoMazieiro commented 5 years ago

Just follow this guide: https://storybook.js.org/docs/addons/using-addons/

And dont forget to "match" the addon dependency version with the @storybook/react

Example: "@storybook/addon-actions": "^4.1.4", "@storybook/addon-knobs": "^4.1.4", "@storybook/addon-notes": "^4.1.4", "@storybook/addons": "^4.1.4", "@storybook/react": "^4.1.4",