A beautiful effect to preload images, made with love <3
npm install --save progressive-img-loader
OR
yarn add progressive-img-loader
import React, { Component } from 'react'
import ImageLoader from 'progressive-img-loader'
function ExampleComponent(){
return (<ImageLoader src={"original-image.png"}
srcPreview={"thumb-img.png"}
alt={"Alt attribute"} />);
}
MIT © Lozadaa