Skip to content

shimil/react-image-component

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-image-component

React component to load images with a little finesse. A placeholder is rendered while the image loads. Once loaded the image fill fade in. See http://pugholdit.herokuapp.com for an example.

usage

var Image = require('react-image-component')

React.renderComponent(<Image src={'http://pugholdit.herokuapp.com/500x400.jpg'} aspectRatio={0.8} />, mountNode)

About

React component to load images with a little finesse

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published