Skip to content

Commit 8a394df

Browse files
committed
Fix lint issues
1 parent b3d3745 commit 8a394df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/radioButton/RadioButton.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ class RadioButton extends PureComponent<Props, RadioButtonState> {
229229
renderIcon() {
230230
const {iconSource, iconStyle} = this.props;
231231
const style = [this.styles.image, iconStyle];
232-
return iconSource && <Image style={style} source={iconSource} />;
232+
return iconSource && <Image style={style} source={iconSource}/>;
233233
}
234234

235235
renderButton() {
@@ -249,7 +249,7 @@ class RadioButton extends PureComponent<Props, RadioButtonState> {
249249
}
250250

251251
render() {
252-
const {onPress, onValueChange, contentOnRight, style, containerStyle, ...others} = this.props;
252+
const {onPress, onValueChange, contentOnRight, containerStyle, ...others} = this.props;
253253
const Container = onPress || onValueChange ? TouchableOpacity : View;
254254

255255
return (
@@ -258,8 +258,8 @@ class RadioButton extends PureComponent<Props, RadioButtonState> {
258258
row
259259
centerV
260260
activeOpacity={1}
261-
style={containerStyle}
262261
{...others}
262+
style={containerStyle}
263263
onPress={this.onPress}
264264
{...this.getAccessibilityProps()}
265265
>

0 commit comments

Comments
 (0)