<Carousel
ssr
infinite={true}
itemClass="item"
responsive={responsive}
>
{data.map((item) => {
return (
<NavLink className='text' to='#'>
<Card className='card'>
<Card.Body> <div> <img
className='image'
src={item.image}
/> </div><span >{item.name}</span> </Card.Body>
</Card>
</NavLink>
);
})}
</Carousel>
is there any way to write like itemsToshow = {5} in <Carousel> like we do in react-elastic-carousel?
I have npm 18 installed which i think does not supprot react-elastic-carousel.
Those are handled via responsive variable. Look at items key where we can mention how many items to be displayed.