1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +02:00

don't duplicate label and children in <Radio />

This commit is contained in:
Sérgio Ramos 2016-10-31 12:01:44 +00:00
parent 61f290e0d7
commit 0b9630b02f

View File

@ -16,7 +16,7 @@ const Radio = ({
value value
}) => { }) => {
const _label = label || children; const _label = label || children;
const _children = label ? children : null; const _children = label && children ? children : null;
const cn = classNames( const cn = classNames(
className, className,