"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
require("@emotion/react");
require("react");
const jsxRuntime = require("@emotion/react/jsx-runtime");
const RadioButtonWrap = require("./RadioButtonWrap.js");
const RadioButton = ({
  label,
  checked,
  onClick
}) => {
  return /* @__PURE__ */ jsxRuntime.jsx(RadioButtonWrap.RadioButtonWrap, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "radioButtonContainer", onClick, children: [
    /* @__PURE__ */ jsxRuntime.jsx("div", { className: "radioContainer", children: checked && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "radio" }) }),
    /* @__PURE__ */ jsxRuntime.jsx("span", { className: "labelSpan", children: label })
  ] }) });
};
exports.RadioButton = RadioButton;
//# sourceMappingURL=index.js.map
