import AnimateItems from '@/components/AnimateItems'; import { Photo } from '.'; import PhotoLarge from './PhotoLarge'; import { RevalidatePhoto } from './InfinitePhotoScroll'; export default function PhotosLarge({ photos, animate = true, prefetchFirstPhotoLinks, onLastPhotoVisible, revalidatePhoto, }: { photos: Photo[] animate?: boolean prefetchFirstPhotoLinks?: boolean onLastPhotoVisible?: () => void revalidatePhoto?: RevalidatePhoto }) { return ( )} itemKeys={photos.map(photo => photo.id)} /> ); }