79360904

Date: 2025-01-16 09:03:22
Score: 1
Natty:
Report link

For a quick solution I just wrote Slider into a variable with any type here is an example:

import Slider from "react-slick";

const SliderCustom: any = Slider;

const SomeComp = () => {
  return (
    <SliderCustom {...settings}>
      ....
   </SliderCustom>
  )
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yaroslav