import { HTMLAttributes } from "react";
export interface Props extends HTMLAttributes {
urls: string[];
alt: string;
}
export default function FallbackImage({ urls, alt, className }: Props) {
const fallbackUrl = urls.pop()!;
urls.push(fallbackUrl);
return (
);
}