Bugfix: rename with-legend class to withLegend
parent
3d9b92164c
commit
2b9c615af6
|
@ -5,7 +5,7 @@ import style from './style';
|
|||
|
||||
const ListCheckbox = (props) => {
|
||||
let className = `${style.item} ${style['checkbox-item']}`;
|
||||
if (props.legend) className += ` ${style['with-legend']}`;
|
||||
if (props.legend) className += ` ${style.withLegend}`;
|
||||
if (props.disabled) className += ` ${style.disabled}`;
|
||||
if (props.className) className += ` ${props.className}`;
|
||||
|
||||
|
|
Loading…
Reference in New Issue