don't duplicate label and children in <Radio />
This commit is contained in:
parent
61f290e0d7
commit
0b9630b02f
@ -16,7 +16,7 @@ const Radio = ({
|
||||
value
|
||||
}) => {
|
||||
const _label = label || children;
|
||||
const _children = label ? children : null;
|
||||
const _children = label && children ? children : null;
|
||||
|
||||
const cn = classNames(
|
||||
className,
|
||||
|
Loading…
Reference in New Issue
Block a user