import React from 'react';
import ImageItem from './ImageItem';

interface ImageListProps {
  images: string[];
}

const ImageList: React.FC<ImageListProps> = ({ images }) => {
  return (
    <div className="image-list">
      {images.map((image) => (
        <ImageItem src={image} />
      ))}
    </div>
  );
};

export default ImageList;
