almir0201 / Pokedex

0 stars 0 forks source link

Create reusable slider component #125

Open Shekey opened 7 months ago

Shekey commented 7 months ago

image

Install swiper library: https://swiperjs.com/migration-guide-v10

so at the end this would look like this,

arrows should be styled already, and children should be only prop beside all other props that swiper has

so if swiper has prop numberOfSlides than you should also add that prop

children should be a prop and then whatever you put there should be a card

So first step just create a slider with arrows styled

And we will iterate over next steps