YIZHUANG / react-multi-carousel

A lightweight production-ready Carousel that rocks supports multiple items and server-side rendering with no dependency. Bundle size 2kb.
MIT License
1.28k stars 289 forks source link

How to implement Copy of Carousel Items as Custom Dots? #342

Open Novizh opened 2 years ago

Novizh commented 2 years ago

Hello @YIZHUANG,

I'm using this carousel on various pages in my project already, however there's one thing I'm not quite sure of

How do I implement "Copy of Carousel Items as Custom Dots" as seen in this demo?

The JSX code only shown one component called with no clue of how to produce it Do I put it side by side with my current carousel component? or should I create a new component with it inside?

Franchos commented 1 year ago

did u solve it? i'm experiencing the same problem.

Kunal5200 commented 1 year ago

Did anyone solve it ? I'm facing the same problem

mfnash commented 1 year ago

Hello @YIZHUANG,

I'm using this carousel on various pages in my project already, however there's one thing I'm not quite sure of

How do I implement "Copy of Carousel Items as Custom Dots" as seen in this demo?

The JSX code only shown one component called with no clue of how to produce it Do I put it side by side with my current carousel component? or should I create a new component with it inside?

you can see the component here https://github.com/YIZHUANG/react-multi-carousel/blob/master/examples/ssr/components/carousel-with-custom-dots.js