'use client'; import Image, { type ImageLoaderProps, type ImageProps } from 'next/image'; const passthroughLoader = ({ src }: ImageLoaderProps) => src; type ExternalImageProps = Omit & { unoptimized?: boolean; }; export default function ExternalImage({ unoptimized = true, alt = '', fill, width, height, ...rest }: ExternalImageProps) { if (fill) { return ( {alt} ); } return ( {alt} ); }