"use client";
import { j as t } from "../../../../../node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs";
import r from "../../../../../node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.mjs";
import "react";
import { ReactComponent as a } from "../../../../assets/images/TrashCan.svg.mjs";
import i from "../GameDisplayDetails/index.mjs";
import m from "./index.module.scss.mjs";
function u({ game: e, className: s, ...o }) {
  return /* @__PURE__ */ t.jsxs(
    "div",
    {
      className: r(m.selectedGameContainer, s),
      ...o,
      children: [
        /* @__PURE__ */ t.jsx(i, { game: e }),
        /* @__PURE__ */ t.jsx(
          "button",
          {
            onClick: e.onClick,
            "data-testid": `selected-${e.gameId}`,
            type: "button",
            children: /* @__PURE__ */ t.jsx(a, {})
          }
        )
      ]
    }
  );
}
export {
  u as default
};
//# sourceMappingURL=index.mjs.map
