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

react-html-email

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-html-email - npm Package Compare versions

Comparing version 1.1.3 to 1.2.0

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # Change Log

## 1.2.0 - 2017-01-23
### Added
- Add bodyStyle prop to Email component. (@lulalachen)
## 1.1.3 - 2016-11-16

@@ -7,0 +11,0 @@ ### Fixed

9

lib/components/Email.js
'use strict';
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
Object.defineProperty(exports, "__esModule", {

@@ -50,3 +52,3 @@ value: true

'body',
{ style: {
{ style: _extends({
width: '100%',

@@ -57,3 +59,3 @@ margin: 0,

MsTextSizeAdjust: '100%'
} },
}, props.bodyStyle) },
_react2.default.createElement(

@@ -86,3 +88,4 @@ _Box2.default,

align: _react.PropTypes.oneOf(['left', 'center', 'right']),
valign: _react.PropTypes.oneOf(['top', 'middle', 'bottom'])
valign: _react.PropTypes.oneOf(['top', 'middle', 'bottom']),
bodyStyle: _react.PropTypes.object
};

@@ -89,0 +92,0 @@

{
"name": "react-html-email",
"description": "Create elegant HTML email templates using React.",
"version": "1.1.3",
"version": "1.2.0",
"keywords": [

@@ -6,0 +6,0 @@ "react",

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