@react-email/text
Advanced tools
Comparing version
@@ -72,3 +72,8 @@ "use strict"; | ||
if (typeof value === "number") | ||
return { marginTop: 0, marginBottom: 0, marginLeft: 0, marginRight: 0 }; | ||
return { | ||
marginTop: value, | ||
marginBottom: value, | ||
marginLeft: value, | ||
marginRight: value | ||
}; | ||
if (typeof value === "string") { | ||
@@ -75,0 +80,0 @@ const values = value.toString().trim().split(/\s+/); |
{ | ||
"name": "@react-email/text", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "A block of text separated by blank spaces", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
Sorry, the diff of this file is not supported yet
15223
0.58%309
3.34%