Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
return (
{ this.hide(); return true }}
modalAnimation={new ScaleAnimation({
initialValue: 0, // optional
useNativeDriver: true, // optional
})}
modalStyle={styles.contentStyle}
modalTitle={}
footer={
{
this.setState({ scaleAnimationModal: false });
}}
width={0.9}
visible={this.state.scaleAnimationModal}
onSwipeOut={() => this.setState({ scaleAnimationModal: false })}
modalAnimation={new ScaleAnimation()}
onHardwareBackPress={() => {
console.log('onHardwareBackPress');
this.setState({ scaleAnimationModal: false });
return true;
}}
modalTitle={
}
actions={[
{
this.setState({ scaleAnimationModal: false });