import React from "react";
export const Radio = ({ label, name, onChange, checked, value, }) => {
    const id = name + "-" + label;
    return (React.createElement("span", { className: "custom-radio" },
        React.createElement("input", { type: "radio", id: id, name: name, checked: checked, onChange: onChange, value: value }),
        React.createElement("label", { htmlFor: id }, label)));
};
