react-html-email
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -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 |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42048
464