Merge branch '173-in-selector-elements-allow-unselect' into 'master'
allows unselect in bleeding, mucus, cervix and desire Closes #173 See merge request bloodyhealth/drip!82
This commit is contained in:
@@ -23,7 +23,7 @@ export default class SelectTabGroup extends Component {
|
|||||||
if (isActive) activeStyle = styles.selectTabActive
|
if (isActive) activeStyle = styles.selectTabActive
|
||||||
return (
|
return (
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
onPress={() => this.props.onSelect(value)}
|
onPress={() => isActive ? this.props.onSelect(null) : this.props.onSelect(value)}
|
||||||
key={i}
|
key={i}
|
||||||
activeOpacity={1}
|
activeOpacity={1}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user