import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { GetSvgIcon } from "..";
import "./style.scss";
import PDF from "../Svg/PDF";
const CompanyReportsTab = ({ files }) => {
    return (_jsx("div", { className: "reportsWrapper", children: files.map((file) => {
            return (_jsxs("div", { className: "reportsContent", children: [_jsx("div", { className: "reportsIcon", children: _jsx(PDF, { width: "48", height: "48" }) }), _jsxs("div", { className: "reportsName", children: [_jsx("span", { children: file?.fileName || "Report" }), _jsx("a", { href: file?.downloadUrl, target: "_blank", children: _jsx(GetSvgIcon, { iconType: "download", iconSize: "20" }) })] })] }));
        }) }));
};
export default CompanyReportsTab;
