"use client";
import { j as t } from "../../../../../node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs";
import { useContext as m } from "react";
import c from "../../../Item/index.mjs";
import { AccountSelectContext as s } from "../../index.mjs";
import o from "./Option.module.scss.mjs";
import i from "../../../../../node_modules/.pnpm/@tabler_icons-react@3.34.0_react@19.1.0/node_modules/@tabler/icons-react/dist/esm/icons/IconCheck.mjs";
function p(e) {
  const { value: n, setValue: r } = m(s);
  return /* @__PURE__ */ t.jsx("button", { onClick: () => r(e.value), children: /* @__PURE__ */ t.jsxs("div", { className: o.container, children: [
    /* @__PURE__ */ t.jsx(c, { ...e }),
    n === e.value ? /* @__PURE__ */ t.jsx(i, { className: o.checkmark }) : null
  ] }) });
}
export {
  p as Option
};
//# sourceMappingURL=index.mjs.map
