Onpress Setstate React Native

onPress={() => this.setState({switch: false})}
tetar