@unlock-protocol/unlock-assets
TypeScript icon, indicating that this package has built-in type declarations

1.4.8 • Public • Published

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 again
  • yarn run build to build the React components
  • Add import to src/components.js
  • yarn run storybook to debug
  • yarn publish to publish new version!

You can tweak the default viewBox for each image by looking at src/components.js

Readme

Keywords

none

Package Sidebar

Install

npm i @unlock-protocol/unlock-assets

Weekly Downloads

0

Version

1.4.8

License

MIT

Unpacked Size

256 kB

Total Files

5

Last publish

Collaborators

  • unlock-dev
  • ops-unlock
  • clemsos
  • julien51