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.0 to 1.1.1

4

CHANGELOG.md

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

## 1.1.1 - 2016-07-25
### Added
- Add "width", "align", and "valign" props to the `Email` component. (@laurent-skim-it)
## 1.1.0 - 2016-07-18

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

15

lib/components/Email.js

@@ -62,6 +62,6 @@ 'use strict';

_Item2.default,
{ align: 'center', valign: 'top' },
{ align: props.align, valign: props.valign },
_react2.default.createElement(
_Box2.default,
{ width: '600', align: 'center', cellPadding: props.cellPadding, cellSpacing: props.cellSpacing, style: props.style },
{ width: props.width, align: 'center', cellPadding: props.cellPadding, cellSpacing: props.cellSpacing, style: props.style },
props.children

@@ -82,3 +82,12 @@ )

headCSS: _react.PropTypes.string,
children: _react.PropTypes.node
children: _react.PropTypes.node,
width: _react.PropTypes.string,
align: _react.PropTypes.oneOf(['left', 'center', 'right']),
valign: _react.PropTypes.oneOf(['top', 'middle', 'bottom'])
};
Email.defaultProps = {
width: '600',
align: 'center',
valign: 'top'
};
{
"name": "react-html-email",
"description": "Create elegant HTML email templates using React.",
"version": "1.1.0",
"version": "1.1.1",
"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