react-responsive-carousel icon indicating copy to clipboard operation
react-responsive-carousel copied to clipboard

Library seems to be broken

Open jacopo-degattis opened this issue 3 years ago • 1 comments

I just downloaded the library and when I try to implement the component it seems like the carousel doesn't load CSS styles.

To reproduce:

  1. Install the library with yarn
  2. Try adding the component with images
  3. See that CSS doesn't get loaded

Expected behaviour The library should correctly show the slider

Screenshots Screenshot 2022-03-17 at 12 47 49

jacopo-degattis avatar Mar 17 '22 11:03 jacopo-degattis

I did just download it myself, and everything works as expected. Are you sure your environment is setup correctly with a loader that loads the CSS? Using webpack and a css-loader I add import "react-responsive-carousel/lib/styles/carousel.min.css"; to the top of my file and everything works as expected.

etse avatar Apr 01 '22 12:04 etse

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 28 '22 18:09 stale[bot]