import Radios from "./Radios";

function RadioContent({ group, text, value, updateData, name }) {
  return (
    <div>
      <p className="text-[16px] font-medium text-[#3B3B3B]">{text}</p>
      <div className="mt-[16px]">
        <Radios
          updateData={updateData}
          group={group}
          value={value}
          name={name}
        />
      </div>
    </div>
  );
}

export default RadioContent;
