React Image Component
Demo http://ui.talk.ai/react-lite-image/
Features:
- show loading, gray placeholder with fixed size
- fade in after loading image
- show reload button after failed fetching
Usage
npm i --save react-lite-image
LiteImage = require 'react-lite-image'LiteImage src: 'http://a.a/a.png'width: 100height: 100
Develop
https://github.com/teambition/coffee-webpack-starter
License
MIT