import React from "react"; type Props = { imageUrl: string; className?: string; alt?: string; width?: number; height?: number; }; const JanImage: React.FC = ({ imageUrl, className = "", alt = "", width, height, }) => { const [attempt, setAttempt] = React.useState(0); return ( {alt} setAttempt(attempt + 1)} /> ); }; export default JanImage;