in src/components/RadioButtonGroup/RadioButton.tsx [90:125]
render() {
const {
children,
active,
disabled,
onChange,
onClick,
id,
name,
description,
inputRef,
'aria-label': ariaLabel,
} = this.props;
const styles = this.getStyles();
return (
<>
<input
type="radio"
className={styles.radio}
onChange={onChange}
onClick={onClick}
disabled={disabled}
id={id}
checked={active}
name={name}
aria-label={ariaLabel}
ref={inputRef}
/>
<label className={styles.radioLabel} htmlFor={id} title={description}>
{children}
</label>
</>
);
}