In Radio Component the target behaviour is:
- So when user click on the "RadioButton" diva area, radio input will be marked
- 'default' radio styles are currently appearing - which should extend to the height and width of the entire RadioButton div
const Radio = (props) => {
return (
<div className="RadioButton">
<div className="card mx-3 mb-3">
<div className="card-body hightlight">
<div className={"icon-type" + props.icon}></div>
<input id={props.id} onChange={props.changed} value={props.value} type="radio" checked={props.isSelected} />
{props.name}
</div>
</div>
</div>
);
}
export default Radio;