import Image from 'next/image';

export interface Props {
    title: string;
    src: string;
    width: number;
    height: number;
  }
  
  export function Images(props: Props) {
    return (
        <div className='img'>
            <Image
                alt={props.title}
                src={props.src}
                height={props.height}
                width={props.width}
                objectFit='contain'
            />
      </div>
    );
  }
  
  export default Images;