Skip to content

Commit

Permalink
commit mui#8: fix 8 character spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidNgv committed Dec 8, 2016
1 parent bad765c commit 36ec6e0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/RadioButton/RadioButton.js
Expand Up @@ -172,14 +172,12 @@ class RadioButton extends Component {
const uncheckedElement = React.isValidElement(uncheckedIcon) ?
React.cloneElement(uncheckedIcon, {
style: Object.assign(uncheckedStyles, uncheckedIcon.props.style),
}) :
<RadioButtonOff style={uncheckedStyles} />;
}) : <RadioButtonOff style={uncheckedStyles} />;

const checkedElement = React.isValidElement(checkedIcon) ?
React.cloneElement(checkedIcon, {
style: Object.assign(checkedStyles, checkedIcon.props.style),
}) :
<RadioButtonOn style={checkedStyles} />;
}) : <RadioButtonOn style={checkedStyles} />;

const mergedIconStyle = Object.assign(styles.icon, iconStyle);
const mergedLabelStyle = Object.assign(styles.label, labelStyle);
Expand Down

0 comments on commit 36ec6e0

Please sign in to comment.