Sha256: f76469a93d7baea5ae28dca57c94b6a2c76690e2736f6ac50246916181b4020b

Contents?: true

Size: 306 Bytes

Versions: 31

Compression:

Stored size: 306 Bytes

Contents

/* */ 
"use strict";

exports["default"] = function (defaultProps, props) {
  if (defaultProps) {
    for (var propName in defaultProps) {
      if (typeof props[propName] === "undefined") {
        props[propName] = defaultProps[propName];
      }
    }
  }

  return props;
};

exports.__esModule = true;

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
sequenceserver-3.1.3 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-3.1.2 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-3.1.1 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-3.1.0 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-3.0.1 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-3.0 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-2.2.0 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-2.1.0 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-2.0.0 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-2.0.0.rc8 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-2.0.0.rc7 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-2.0.0.rc6 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-2.0.0.rc5 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-2.0.0.rc4 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-2.0.0.rc3 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-2.0.0.rc2 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-2.0.0.rc1 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-2.0.0.beta4 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-2.0.0.beta3 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js
sequenceserver-2.0.0.beta1 public/vendor/npm/babel-runtime@5.8.20/helpers/default-props.js