This library isolates the Unlock SVG components for simplicity. Made with create-react-library
Add SVG to /image, then run the following commands:
yarn run svg-2-componentsto generate components againyarn run buildto build the React components- Add import to
src/components.js yarn run storybookto debugyarn publishto publish new version!
You can tweak the default viewBox for each image by looking at src/components.js