import React from 'react'
import { GatsbyImage, getImage } from 'gatsby-plugin-image';


const Review = ({ img, ...props }) => {
    return (
        <div className="h-full border-2 rounded-md p-5 border-[#0E0808] relative flex justify-center cursor-pointer" {...props}>
            <GatsbyImage className='rounded-lg mb-2' loading='lazy' imgClassName="!object-contain" image={getImage(img)} alt="logo" placeholder="none"/>
        </div>
    )
}

export default Review;