Natural Preference for Minification

npm

Need private packages and team management tools?Check out npm Orgs. »

react-img

1.0.3 • Public • Published

Summary

React component that adds some niceties to the standard <img> element.

  • Adds an attribute while loading, as a styling hook.
  • Adds an attribute if the src fails to load, as a styling hook.
  • Can use a fallback src if the original fails to load.

Released under the MIT License

install

npm i react-img

Downloadsweekly downloads

4

version

1.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability