1.1.0 • Published 2 years ago
@kkurko/storybook-react-svgr v1.1.0
Storybook React SVGR
This plugin will add the same CRA useful behaviour on storybook regarding SVG.
For using it:
1. run npm install -D @kkurko/storybook-react-svgr
or yarn add -D @kkurko/storybook-react-svgr
.
1.just add the following plugin on your ./storybook/main.js
:
module.exports = {
addons: [
+ '@kkurko/storybook-react-svgr',
]
}