React rotation component
Supports wheel, mouse and touch events
npm install --save react-rotation
import React from 'react';
import Rotation from 'react-rotation';
const data = [
'images/00.jpg',
'images/01.jpg',
'images/02.jpg',
'images/03.jpg'
];
React.render(<Rotation data={data} />, document.querySelector('.container'));
MIT