@vpilipenko/radio
v0.2.4
Published
Radio component
Downloads
13
Readme
Radio 📻📻📻
Radio component
import Radio from '@vpilipenko/radio'
Usage example
<Radio
id={option.id}
name={name}
value={option[valueKey]}
checked={option[valueKey] === value}
label={option[labelKey]}
size={size}
onChange={onChange}
className={cm.radio}
disabled={disabled}
/>