import { Photo } from '.'; import PhotoSmall from './PhotoSmall'; import { cc } from '@/utility/css'; import AnimateItems from '@/components/AnimateItems'; import { Camera } from '@/camera'; import MorePhotos from '@/components/MorePhotos'; export default function PhotoGrid({ photos, selectedPhoto, tag, camera, fast, animate = true, animateOnFirstLoadOnly, staggerOnFirstLoadOnly = true, showMorePath, additionalTile, small, }: { photos: Photo[] selectedPhoto?: Photo tag?: string camera?: Camera fast?: boolean animate?: boolean animateOnFirstLoadOnly?: boolean staggerOnFirstLoadOnly?: boolean showMorePath?: string additionalTile?: JSX.Element small?: boolean }) { return (
).concat(additionalTile ?? [])} /> {showMorePath && }
); };