Socket
Socket
Sign inDemoInstall

react-native-progressive-image

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

6

index.js

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

}).start()
this.props.onLoadThumbnail()
}

@@ -26,2 +27,3 @@

}).start()
this.props.onLoadImage()
}

@@ -70,2 +72,4 @@

imageFadeDuration: PropTypes.number.isRequired,
onLoadThumbnail: PropTypes.func.isRequired,
onLoadImage: PropTypes.func.isRequired,
thumbnailSource: PropTypes.object.isRequired,

@@ -80,2 +84,4 @@ thumbnailFadeDuration: PropTypes.number.isRequired,

thumbnailBlurRadius: 5,
onLoadThumbnail: Function.prototype,
onLoadImage: Function.prototype,
}

2

package.json
{
"name": "react-native-progressive-image",
"version": "1.0.3",
"version": "1.0.4",
"description": "Progressively load images. Loads a small thumbnail first. Includes fade and blur effects.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -35,1 +35,3 @@ # react-native-progressive-image

| **`thumbnailFadeDuration`** | Fade-in duration for the thumbnail in ms. | `250` |
| **`onLoadThumbnail`** | Callback function that gets called when the thumbnail is loaded. | `noop` |
| **`onLoadImage`** | Callback function that gets called when the main image is loaded. | `noop` |
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc