File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 1313 View,
1414 Text,
1515 Component,
16- TouchableHighlight
16+ TouchableOpacity ,
1717} = React ;
1818
1919class CircleCheckBox extends Component {
@@ -78,15 +78,17 @@ class CircleCheckBox extends Component {
7878
7979 render ( ) {
8080 return (
81- < View style = { [ styles . checkBoxContainer , this . props . styleCheckboxContainer ] } >
82- { this . _renderLabel ( 'left' ) }
83- < TouchableHighlight style = { [ styles . alignStyle , this . state . customStyle . _circleOuterStyle ] } onPress = { this . _onToggle . bind ( this ) } >
84- < View style = { [ styles . alignStyle , this . state . customStyle . _circleFilterStyle ] } >
85- { this . _renderInner ( ) }
81+ < TouchableOpacity onPress = { this . _onToggle . bind ( this ) } >
82+ < View style = { [ styles . checkBoxContainer , this . props . styleCheckboxContainer ] } >
83+ { this . _renderLabel ( 'left' ) }
84+ < View style = { [ styles . alignStyle , this . state . customStyle . _circleOuterStyle ] } >
85+ < View style = { [ styles . alignStyle , this . state . customStyle . _circleFilterStyle ] } >
86+ { this . _renderInner ( ) }
87+ </ View >
8688 </ View >
87- </ TouchableHighlight >
88- { this . _renderLabel ( 'right' ) }
89- </ View >
89+ { this . _renderLabel ( 'right' ) }
90+ </ View >
91+ </ TouchableOpacity >
9092 ) ;
9193 }
9294
You can’t perform that action at this time.
0 commit comments