react-image-revolver
v1.0.0
Published
Revolve through an array of images
Downloads
11
Readme
react-image-revolver
Revolve through an array of images
Installation
npm install react-image-revolver --save
Usage
var Revolver = require('react-image-revolver');
React.render(Revolver({
images: [ '/img1.jpg', '/img2.gif', '/img3.png' ], // array of img urls
interval: 1000 // cycle interval in ms
}, document.body);