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

react-responsive-masonry

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-responsive-masonry - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 1.2.3 - 2017-06-14
* Update: handle default columns count
# 1.2.2 - 2017-06-03

@@ -2,0 +6,0 @@

4

lib/ResponsiveMasonry.js

@@ -25,2 +25,4 @@ "use strict";

var DEFAULT_COLUMNS_COUNT = 1;
var MasonryResponsive = function (_Component) {

@@ -68,3 +70,3 @@ _inherits(MasonryResponsive, _Component);

var breakPoints = this.getSortedBreakPoints();
var columnsCount = void 0;
var columnsCount = breakPoints.length > 0 ? columnsCountBreakPoints[breakPoints[0]] : DEFAULT_COLUMNS_COUNT;

@@ -71,0 +73,0 @@ breakPoints.forEach(function (breakPoint) {

{
"name": "react-responsive-masonry",
"version": "1.2.2",
"version": "1.2.3",
"description": "React responsive masonry component built with css flexbox",

@@ -5,0 +5,0 @@ "repository": {

@@ -69,3 +69,3 @@ # react-responsive-masonry ![npm](https://img.shields.io/npm/v/react-responsive-masonry.svg) ![license](https://img.shields.io/npm/l/react-responsive-masonry.svg) ![github-issues](https://img.shields.io/github/issues/xuopled/react-responsive-masonry.svg)

* `columnsCount`: Number - injected by ResponsiveMasonry - default 3,
* `gutter`: String - margin surrounding each item (in pixels) - default "0",
* `gutter`: String - margin surrounding each item - default "0" - eg: "10px",

@@ -72,0 +72,0 @@ ### ResponsiveMasonry component

Sorry, the diff of this file is not supported yet

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