brainhubeu / react-carousel

A pure extendable React carousel, powered by Brainhub (craftsmen who ❤️ JS)
https://brainhub.eu/
MIT License
1.07k stars 164 forks source link

Props, number of item to show #650

Open liokaraz opened 3 years ago

liokaraz commented 3 years ago

Hi,

Can we have as props the number of elements to display initially in the slide ?

Thanks

DjalmaP commented 3 years ago

Hi! the plugin properties have this option, for example:

` <Carousel value={value} plugins={[ { resolve: slidesToShowPlugin, options: { numberOfSlides: 4, }, }, ]}

`