"use client"; import React, { useState } from "react"; import { Gallery as ReactGridGallery, Image as ImageType, ThumbnailImageProps } from "react-grid-gallery"; import Image from "next/image"; const ImageComponent = (props: ThumbnailImageProps) => { const { src, alt, style, title } = props.imageProps; const { width, height } = props.item; return ( {alt} { window.open(src); }} style={style} /> ); }; export default function Gallery({ images }: { images: ImageType[] }) { return ; }