function Radio({label, id, isChecked, setValue, disabled}) {
    return (
        <label className={`lbaic-settings-radio${isChecked ? ' active' : ''}${disabled ? ' disabled' : ''}`} htmlFor={id} onClick={setValue}>
            <input type='radio' className='lbaic-settings-radio-input'/>
            <i className='lbaic-settings-radio-i' id={id}/>
            {!!label && <span className='lbaic-settings-radio-label'>{label}</span>}
        </label>
    )
}

export default Radio;