sag1v / react-elastic-carousel

A flexible and responsive carousel component for react https://sag1v.github.io/react-elastic-carousel
MIT License
348 stars 150 forks source link

Fixing children prop bug #259

Closed BaraaNazar closed 1 year ago

BaraaNazar commented 1 year ago

In this Pull request, a children prop bug has been fixed which appeared when writing this carousel element in the typescript file. In the file named index.d.ts at 110 a children prop has been added to fix that bug as shown in the screenshots below:

Screenshot 2023-02-08 at 9 13 03 PM Screenshot 2023-02-08 at 9 13 13 PM
BaraaNazar commented 1 year ago

I hope this will help!

BaraaNazar commented 1 year ago

Not the right commit!