Storybook Ruler Addon
This addon add a vertical and horizontal ruler to your storybook.
This version is finally stable and doesn't throw any minified react error anymore, I'd like to apologise for any inconvenience caused.
Go to your project file and execute the following commands:
npm i storybook-ruler-addon
yarn add storybook-ruler-addon
Embed into Storybook
Add the addon to your addon.js file in the .storybook directory:
Then add the decorator to your config.js file in the .storybook directory:
Or add the decorator to your stories individually: