react-img-tag

Render <img> in React using dangerouslySetInnerHTML.

Stats

StarsIssuesVersionUpdatedCreatedSize
react-img-tag
100.0.23 years ago3 years agoMinified + gzip package size for react-img-tag in KB

Readme

react-img-tag

This module is for rendering images in React using dangerouslySetInnerHTML.

The main use case of this library is to render an image into a <noscript> tag.

Usage

npm install react-img-tag
# or
yarn add react-img-tag

License

MIT

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.