import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { RectangularIcon } from "../..";
import "./style.scss";
const CompanyViewSummaryNewsComponentTab = ({ News, }) => {
    return (_jsx("div", { className: "companyViewSummaryNewsComponent--Generic", children: News.map((New) => {
            return (_jsxs("div", { className: "companyViewSummaryNewsComponent-Content", children: [_jsx("div", { className: "companyViewSummaryNewsComponent-NewsIcon", children: _jsx(RectangularIcon, { iconSize: "64", altImageType: "news", iconPath: New?.ImageUrl }) }), _jsxs("div", { className: "companyViewSummaryNewsComponent-NewsHeadline", children: [_jsx("a", { href: New.newsLink, target: "_blank", className: "companyViewSummaryNewsComponent-NewsLink", children: _jsx("div", { className: "companyViewSummaryNewsComponent-NewsTitle", children: _jsx("span", { children: New?.newsTitle || "News" }) }) }), _jsxs("span", { className: "companyViewSummaryNewsComponent-NewsSource", children: ["Source : ", New.sourceName] })] })] }));
        }) }));
};
export default CompanyViewSummaryNewsComponentTab;
