This react component that will render image tag only if the image source is found without error, otherwise it renders only the alt text in a
tag. This eliminates the broken image icon before the alt text.
Sample basic usage:
Usage with extra img properties:
To use this component, clone the repository or dowload and extract it to your machine. Open terminal to the folder. Run npm install.