import React from 'react'

export default function ImageElement({className, src, alt}) {
  return (
    <div className='w-full h-full flex justify-center items-center'>
        <img src={src} alt={alt} className={`object-cover w-auto h-full ${className && className}`} />
    </div>
  )
}
