How to use package css in react

this is not loading on front end. i am using react-carousel-slider and i am not able to use css in that import ‘react-responsive-carousel/lib/styles/carousel.min.css’; using importing

how to use webpack config file in that to configure style loader and css loader. both are require.

Have you tried using the declare module?

declare module 'react-responsive-carousel/lib/styles/carousel.min.css'