Socket
Socket
Sign inDemoInstall

react-photo-gallery

Package Overview
Dependencies
21
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.4 to 6.0.5

.package.json.swo

2

package.json
{
"name": "react-photo-gallery",
"version": "6.0.4",
"version": "6.0.5",
"description": "Responsive React Photo Gallery Component",

@@ -5,0 +5,0 @@ "main": "lib/Gallery.js",

@@ -95,3 +95,3 @@ <a href="http://neptunian.github.io/react-photo-gallery/"><img src="https://sandygonzales.com/rpg-logo2.png" width="350" /></a>

### Gallery.photos properties
### Image properties (passed into Gallery's photos prop)

@@ -119,5 +119,5 @@ Property | Type | Default | Description

### Passing in a custom image component
### Overriding Image component to use custom component
Instead of using the default image component provided, you can pass in a custom one. This would be useful if you want to change how the image looks and functions. For example, having selection functionality where clicking on an image highlights it or adds a checkmark icon over it.
Instead of using the default Image component provided, you can pass in your own. This would be useful if you want to change how the image looks and functions. For example, having selection functionality where clicking on an image highlights it or adds a checkmark icon over it, favorites, captions, etc.

@@ -130,3 +130,3 @@ app.js

The custom component will be receive the following properties as seen from SelectedImage.js in the examples directory where `photo` is the original photo object passed in:
The custom Image component will receive the following properties as seen from SelectedImage.js in the examples directory where `photo` is the original photo object passed in:

@@ -133,0 +133,0 @@ ```

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