From aa3f78fbed13515504bf1218728ac12bc3f6775c Mon Sep 17 00:00:00 2001 From: Fahmi Ahmad Date: Tue, 18 Aug 2020 11:31:41 +0700 Subject: [PATCH] Update RadioButtonRN.js --- RadioButtonRN.js | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/RadioButtonRN.js b/RadioButtonRN.js index 4756e29..2d6bf2f 100644 --- a/RadioButtonRN.js +++ b/RadioButtonRN.js @@ -116,7 +116,7 @@ class RadioButtonRN extends React.Component { render() { let { activeIndex, fadeAnim, animations } = this.state; - let { boxStyle, style, circleSize, textStyle, data, icon, activeColor, deactiveColor, boxActiveBgColor, boxDeactiveBgColor, box, textColor } = this.props; + let { boxStyle, style, circleSize, textStyle, data, icon, activeColor, deactiveColor, boxActiveBgColor, boxDeactiveBgColor, box, textColor, disabled } = this.props; return ( @@ -133,6 +133,7 @@ class RadioButtonRN extends React.Component { , boxStyle]} activeOpacity={0.9} onPress={() => this._changeRadio(item, index)} + disabled={disabled} >