"use client"; import { useState } from "react"; import Image from "next/image"; interface ImageCarouselProps { id: string; thumbnails: string[]; } const ImageCarousel = ({ id, thumbnails }: ImageCarouselProps) => { const [currentIndex, setCurrentIndex] = useState(0); const goToSlide = (slideIndex: number) => { setCurrentIndex(slideIndex); }; return (