"use client";
import { j as s } from "../../../../node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs";
import o from "../../../../node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.mjs";
import d from "../../Button/index.mjs";
import m from "../Modal/index.mjs";
import n from "../ModalAnimation/index.mjs";
import e from "./index.module.scss.mjs";
const f = ({
  title: l,
  icon: a,
  callToActionText: c,
  onActionClick: r,
  children: t,
  ...i
}) => /* @__PURE__ */ s.jsx(n, { ...i, children: /* @__PURE__ */ s.jsx("div", { className: o(e.modal), "data-testid": "success-modal", children: /* @__PURE__ */ s.jsxs("div", { className: o(e.content), children: [
  /* @__PURE__ */ s.jsx(m.CloseButton, { onClick: i.onClose }),
  /* @__PURE__ */ s.jsx("div", { className: o(e.row), children: /* @__PURE__ */ s.jsx("h5", { className: e.title, children: l }) }),
  /* @__PURE__ */ s.jsx("div", { className: o(e.row), children: /* @__PURE__ */ s.jsx("div", { className: o(e.icon), children: a }) }),
  /* @__PURE__ */ s.jsx("div", { className: o(e.row), children: t }),
  /* @__PURE__ */ s.jsx("div", { className: o(e.row), children: /* @__PURE__ */ s.jsx(d, { type: "secondary", onClick: r, children: /* @__PURE__ */ s.jsx("div", { className: e.button, children: c }) }) })
] }) }) });
export {
  f as default
};
//# sourceMappingURL=index.mjs.map
