1.0.0 • Published 10 years ago

thumb-preview v1.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
10 years ago

#React Thumb Preview

WORK IN PROGRESS. ALPHA. NOT READY FOR DISTRIBUTION.

A React component that provides a thumbnail preview effect controlled by mousemove events.

##Usage

var images =  ["/path/to/image_1.jpg",
  "/path/to/image_2.jpg", "/path/to/image_3.jpg"]

React.render(<ThumbPreview images={images} />, targetElement);

This is a port from the jQuery-Thumb-Preview plugin

##Examples

Check index.html for a comparison between the original jQuery plugin and this component.

I've run some benchmarks in Chrome 43.0.2357.130 (64-bit) and Firefox 38.0.5:

Chrome

npm.io npm.io

Firefox

npm.io