import "@emotion/react";
import "react";
import { jsx, jsxs } from "@emotion/react/jsx-runtime";
import { RadioButtonWrap } from "./RadioButtonWrap.js";
const RadioButton = ({
  label,
  checked,
  onClick,
  cssStyle,
  className,
  style
}) => {
  return /* @__PURE__ */ jsx(RadioButtonWrap, { css: cssStyle, className, style, children: /* @__PURE__ */ jsxs("div", { className: "radioButtonContainer", onClick, children: [
    /* @__PURE__ */ jsx("div", { className: "radioContainer", children: checked && /* @__PURE__ */ jsx("div", { className: "radio" }) }),
    /* @__PURE__ */ jsx("span", { className: "labelSpan", children: label })
  ] }) });
};
export {
  RadioButton
};
//# sourceMappingURL=index.js.map
