Socket
Socket
Sign inDemoInstall

react-native-modal

Package Overview
Dependencies
Maintainers
2
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-modal - npm Package Compare versions

Comparing version 2.0.2 to 2.2.0

2

package.json
{
"name": "react-native-modal",
"version": "2.0.2",
"version": "2.2.0",
"description": "An enhanced React-Native modal",

@@ -5,0 +5,0 @@ "main": "src/index.js",

# react-native-modal
An enhanced, animated and customizable react-native modal.
Previously known as `react-native-animated-modal`.
# Warning
This name was previously known as `react-native-animated-modal`.  
Please upgrade your version to this new `react-native-modal`.
# Gifs!

@@ -72,2 +68,4 @@ <p align="center">

| backdropTransitionOutTiming | number | 300 | The backdrop hide timing (in ms) |
| hideOnBack | bool | true | Hide the modal on back button press? |
| onBackButtonPress | func | () => null | Called when the Android back button is pressed |
| isVisible | bool | **REQUIRED** | Show the modal? |

@@ -74,0 +72,0 @@ | children | node | **REQUIRED** | The modal content |

@@ -22,2 +22,3 @@ import React, { Component, PropTypes } from 'react';

hideOnBack: PropTypes.bool,
onBackButtonPress: PropTypes.func,
style: PropTypes.any,

@@ -39,2 +40,3 @@ };

hideOnBack: true,
onBackButtonPress: () => null,
};

@@ -98,2 +100,4 @@

}
this.props.onBackButtonPress();
};

@@ -100,0 +104,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc