@react-email/column
Advanced tools
Comparing version
@@ -5,3 +5,2 @@ import * as React from 'react'; | ||
interface ColumnProps extends RootProps { | ||
style?: React.CSSProperties; | ||
} | ||
@@ -8,0 +7,0 @@ declare const Column: React.ForwardRefExoticComponent<Readonly<ColumnProps> & React.RefAttributes<HTMLTableDataCellElement>>; |
@@ -38,18 +38,3 @@ "use strict"; | ||
({ children, style, ...props }, forwardedRef) => { | ||
const styleDefault = { | ||
display: "inline-flex", | ||
justifyContent: "center", | ||
alignItems: "center", | ||
...style | ||
}; | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)( | ||
"td", | ||
{ | ||
ref: forwardedRef, | ||
style: styleDefault, | ||
role: "presentation", | ||
...props, | ||
children | ||
} | ||
); | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("td", { ...props, style, ref: forwardedRef, children }); | ||
} | ||
@@ -56,0 +41,0 @@ ); |
{ | ||
"name": "@react-email/column", | ||
"version": "0.0.6-canary.0", | ||
"version": "0.0.6-canary.1", | ||
"description": "Display a column that separates content areas vertically in your email", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
Sorry, the diff of this file is not supported yet
7844
-6.12%61
-33.7%