import React from "react"; import { Carousel } from '@mantine/carousel'; import VideoPlayer from "./VideoPlayer"; // assuming VideoPlayer and ImageViewer are custom components to display videos and photos import ImageViewer from "./ImageViewer"; // assuming VideoPlayer and ImageViewer are custom components to display videos and photos type Props = { videos: string[]; photos: string[]; }; const GalleryCarousel: React.FC = ({ videos, photos }): JSX.Element => { return ( {photos.map((photo, index) => ( ))} {videos.map((video, index) => ( ))} ); }; export default GalleryCarousel;