solves the action footer, but messes up the header

This commit is contained in:
tina
2018-09-26 18:16:29 +02:00
parent e5052bf088
commit c06bfa2c91
9 changed files with 74 additions and 42 deletions
+1 -7
View File
@@ -23,13 +23,7 @@ export default class SelectTabGroup extends Component {
if (isActive) activeStyle = styles.selectTabActive
return (
<TouchableOpacity
onPress={() => {
if (this.props.isRadioButton) {
this.props.onSelect(value)
} else {
isActive ? this.props.onSelect(null) : this.props.onSelect(value)
}
}}
onPress={() => isActive ? this.props.onSelect(null) : this.props.onSelect(value)}
key={i}
activeOpacity={1}
>