Skip to content

jackmoore/react-img

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages