import Image, {StaticImageData} from "next/image";
import {StaticRequire} from "next/dist/shared/lib/get-img-props";
import React from "react";

function SponsorImage({image}: Readonly<{ image: string | StaticRequire | StaticImageData; }>): React.ReactNode {
    return (
        <Image
            src={image}
            className={"object-contain w-full h-[160px]"}
            alt="Hero TeraChat Image"
            loading="eager"
            placeholder="blur"
        />
    )
}

export default SponsorImage;