Multiple slides
You can show more than one slide per page, using the slidesToShow
plugin.
// import Carousel, { slidesToShowPlugin } from '@brainhubeu/react-carousel';
// import '@brainhubeu/react-carousel/lib/style.css';
<Carousel
plugins={[
'infinite',
'arrows',
{
resolve: slidesToShowPlugin,
options: {
numberOfSlides: 2
}
},
]}
>
<img src={imageOne} />
<img src={imageTwo} />
<img src={imageThree} />
</Carousel>