Skip to content

Lozadaa/progressive-img-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Progressive Image Loader

Made working at

A beautiful effect to preload images, made with love <3

NPM JavaScript Style Guide

Install

npm install --save progressive-img-loader

OR

yarn add progressive-img-loader

Usage

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"} />);
}

License

MIT © Lozadaa

About

A very simple and beautiful gem (gem sounds better than library but it's the same) to add preloader blur thumb to the images 🖼

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published