import React, { ImgHTMLAttributes } from 'react'; interface ImageProps extends ImgHTMLAttributes { src: string; alt: string; width?: number; height?: number; className?: string; } export function Image({ src, alt, width, height, className = '', ...props }: ImageProps) { return ( // eslint-disable-next-line @next/next/no-img-element {alt} ); }