rcaferati / react-awesome-slider

React content transition slider. Awesome Slider is a 60fps, light weight, performant component that renders an animated set of production ready UI general purpose sliders with fullpage transition support for NextJS and GatsbyJS. 🖥️ 📱
https://fullpage.caferati.me
MIT License
2.94k stars 296 forks source link

Captions not working #165

Closed Irungaray closed 3 years ago

Irungaray commented 3 years ago

import withCaption from 'react-awesome-slider/dist/captioned';

The file which the above sentence tries to import doesnt exist.

So when you compile, it throws an error. I tried searching for older versions but I still didnt find the file for that route.

Hope you can fix it!

trolit commented 3 years ago

You can get captioned.js from the example (click here) :)

Irungaray commented 3 years ago

Hey, thank you so much! I already managed to do it without that file, but i'll implement it.

hanu7674 commented 10 months ago

Hey, thank you so much! I already managed to do it without that file, but i'll implement it.

Can you please tell us, how did you do that. Especially hoc components like autoplay, captioned-images without using babel.