import PropTypes from 'prop-types'; /** * Image component with error handling fallback */ export default function ImageWithFallback({ src, alt, className = '', containerClassName = '', onError }) { const handleError = (e) => { e.target.style.display = 'none'; if (onError) { onError(e); } }; if (!src) return null; return (