import React, { useState } from "react";
export const NotificationCardBodyContentLogo = ({ contentLogo }) => {
    const [isImageAvailable, setIsImageAvailable] = useState(true);
    return (React.createElement("div", { className: "notification-card__body_img_container", style: !isImageAvailable || !contentLogo ? { display: "none" } : {} },
        React.createElement("img", { alt: "Image", src: contentLogo, onError: () => setIsImageAvailable(false) })));
};
//# sourceMappingURL=NotificationCardBodyContentLogo.js.map