import React, { useState } from "react";
export const NotificationCardHeaderLogo = ({ headerLogo }) => {
    const [showDefaultIcon, setShowDefaultIcon] = useState(false);
    return (React.createElement(React.Fragment, null,
        React.createElement("img", { alt: "App logo", src: headerLogo, style: showDefaultIcon || !headerLogo ? { display: "none" } : {}, onError: () => setShowDefaultIcon(true) }),
        showDefaultIcon || !headerLogo ? React.createElement("i", { className: "ff-finsemble default-img large" }) : null));
};
//# sourceMappingURL=NotificationCardHeaderLogo.js.map