Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import React from 'react';
var Carousel = require('nuka-carousel');
const MoviesSlider = React.createClass({
mixins: [Carousel.ControllerMixin],
render() {
return (
<img src="http://placehold.it/1000x400/ffffff/c0392b/&text=slide1">
<img src="http://placehold.it/1000x400/ffffff/c0392b/&text=slide2">
<img src="http://placehold.it/1000x400/ffffff/c0392b/&text=slide3">
<img src="http://placehold.it/1000x400/ffffff/c0392b/&text=slide4">
<img src="http://placehold.it/1000x400/ffffff/c0392b/&text=slide5">
<img src="http://placehold.it/1000x400/ffffff/c0392b/&text=slide6">
)
}
});
module.exports = MoviesSlider;