1.4.8 • Published 1 year ago
@unlock-protocol/unlock-assets v1.4.8
Unlock Assets
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-components
to generate components againyarn run build
to build the React components- Add import to
src/components.js
yarn run storybook
to debugyarn publish
to publish new version!
You can tweak the default viewBox for each image by looking at src/components.js