// components/SmallImageGrid.tsx import React from 'react'; import Photo from './Photo'; import { ImageItem } from '../types'; type PhotoGridProps = { images: ImageItem[][]; }; const PhotoGrid: React.FC = ({ images }) => { return (
{images.map((item: ImageItem[], index: number) => (
{item.map((image: ImageItem, idx: number) => (
))}
))}
); }; export default PhotoGrid;