import { Carousel } from "../../../components/atoms/Carousel";

interface MarketPlaceCarouselProps {
  carouselData: string[];
  showPrevNext?: boolean;
  infinite?: boolean;
}
const MarketPlaceCarousel = ({
  carouselData,
  showPrevNext,
  infinite = false,
}: MarketPlaceCarouselProps) => {
  return (
    <div className="mx-auto max-w-lg">
      <Carousel
        data={carouselData}
        showPrevNext={!!showPrevNext}
        infinite={!!infinite}
      />
    </div>
  );
};

export { MarketPlaceCarousel, MarketPlaceCarouselProps };
