"use client";
import { j as s } from "../../../node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs";
import i from "../../../node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.mjs";
import "react";
import { ReactComponent as n } from "../../assets/images/CloseButton.svg.mjs";
import t from "./ToastGeneric.module.scss.mjs";
function x(e) {
  var a, l;
  return /* @__PURE__ */ s.jsxs("div", { className: i(t.root, (a = e.classNames) == null ? void 0 : a.root), children: [
    /* @__PURE__ */ s.jsx(
      "div",
      {
        className: i(t.imageContainer, (l = e.classNames) == null ? void 0 : l.image),
        children: e.image
      }
    ),
    /* @__PURE__ */ s.jsxs("div", { className: t.infoContainer, children: [
      /* @__PURE__ */ s.jsx("div", { className: i("title", t.txnTitle), children: e.title }),
      /* @__PURE__ */ s.jsx("div", { className: "body color-neutral-100", children: e.subtext })
    ] }),
    e.showCloseButton ? /* @__PURE__ */ s.jsx("div", { className: t.closeButtonContainer, onClick: e.onClick, children: /* @__PURE__ */ s.jsx(n, {}) }) : null
  ] });
}
export {
  x as ToastGeneric
};
//# sourceMappingURL=index.mjs.map
