- Deprecated *
A carousel for the mobile web
Check it out on a mobile device:
http://dogfessional.github.io/react-carousel/
var Carousel = require('react-carousel');
var SampleComponent = React.createClass({
render: function () {
return (
<Carousel>
<img src="http://fillmurray.com/300/300" />
<img src="http://fillmurray.com/600/300" />
<img src="http://fillmurray.com/100/300" />
<img src="http://fillmurray.com/400/300" />
<img src="http://fillmurray.com/200/300" />
</Carousel>
)
}
});
Carousel does not take any props.
The children in carousel are used to provide a carousel-like experience by allowing people to flip through each element one by one.
Initial set up, run:
npm install
For watch on files, live reload, JSX transpiling and browserify, run:
gulp
MIT