"use client"; import { CoursesProps } from "@/types"; import "slick-carousel/slick/slick.css"; import "slick-carousel/slick/slick-theme.css"; import Slider from "react-slick"; import './slick.css' //npm i --save-dev @types/react-slick const CoursesSilder = ({ courses }: { courses: CoursesProps[] }) => { const settings = { arrows: false, dots: true, infinite: true, speed: 500, slidesToShow: 1, slidesToScroll: 1, appendDots: (dots: any) => (
{course.title}
{course.sort_description}
{course.title}
{course.sort_description}