import { jsx as b } from "@emotion/react/jsx-runtime";
import { normalizeRadioGroupPropsFromBackend as f } from "./normalizeRadioGroupPropsFromBackend.js";
import { RHFRadioGroup as h } from "../../../../../hook-form/RHFRadioGroup/RHFRadioGroup.js";
const y = {
  componentIds: ["RHFRadioGroup"],
  /** Renders the RHFRadioGroup component for the given field and context. */
  render(e) {
    const { field: o, props: r } = e, { size: t = "medium", disabled: a, readOnly: s, getLabel: n } = r, { name: i, isRequired: d, helperText: p } = o, l = f(o, n), { resolvedLabel: m, resolvedOptions: c, ...u } = l, { optionLabelPath: z, optionValuePath: G, ...R } = u;
    return /* @__PURE__ */ b(
      h,
      {
        name: i,
        size: t,
        mandatory: d,
        options: c,
        helperMessage: p || "",
        disabled: a || s,
        ...R,
        label: m
      }
    );
  }
};
export {
  y as radioGroupStrategy
};
