import {
  DownloadCard
} from "./chunk-YQBY5R2B.js";
import {
  Heading
} from "./chunk-HK224ADT.js";
import {
  Flex
} from "./chunk-25HMMI7R.js";
import {
  Card
} from "./chunk-2ZQK7NTN.js";
import {
  __spreadValues
} from "./chunk-N552FDTV.js";

// src/app/platform/report-card.tsx
import { jsx, jsxs } from "react/jsx-runtime";
function ReportCard(props) {
  const { title, file, status } = props;
  return /* @__PURE__ */ jsxs(Card, { children: [
    /* @__PURE__ */ jsxs(Flex, { align: "center", justify: "between", children: [
      /* @__PURE__ */ jsx(Heading, { variant: "heading4", children: title }),
      status
    ] }),
    file == null ? void 0 : file.map((el) => {
      return /* @__PURE__ */ jsx(DownloadCard, __spreadValues({}, el), el.url);
    })
  ] });
}

export {
  ReportCard
};
//# sourceMappingURL=chunk-ZPIMFRCZ.js.map