Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-modal

Package Overview
Dependencies
Maintainers
1
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 0.0.2 to 0.0.3

18

Modal.ios.js

@@ -22,2 +22,14 @@ 'use strict';

render() {
var closeButton;
if (this.props.hideCloseButton !== true) {
closeButton = (
<View style={modalStyles.closeButton}>
<TouchableOpacity onPress={this.props.onClose}>
<Text style={modalStyles.closeButtonText}>Close</Text>
</TouchableOpacity>
</View>
)
}
if (this.props.isVisible) {

@@ -27,7 +39,3 @@ return (

<View style={modalStyles.backdrop} />
<View style={modalStyles.closeButton}>
<TouchableOpacity onPress={this.props.onClose}>
<Text style={modalStyles.closeButtonText}>Close</Text>
</TouchableOpacity>
</View>
{closeButton}

@@ -34,0 +42,0 @@ <View style={modalStyles.modal}>

{
"name": "react-native-modal",
"version": "0.0.2",
"version": "0.0.3",
"description": "A <Modal> component for react-native",

@@ -5,0 +5,0 @@ "main": "Modal.ios.js",

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