@react-email/column
Advanced tools
Comparing version
import * as React from 'react'; | ||
declare type RootProps = React.ComponentPropsWithoutRef<'td'>; | ||
declare type RootProps = React.ComponentPropsWithoutRef<"td">; | ||
interface ColumnProps extends RootProps { | ||
@@ -5,0 +5,0 @@ } |
@@ -38,3 +38,12 @@ "use strict"; | ||
({ children, style, ...props }, forwardedRef) => { | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("td", { ...props, style, ref: forwardedRef, children }); | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)( | ||
"td", | ||
{ | ||
...props, | ||
ref: forwardedRef, | ||
"data-id": "__react-email-column", | ||
style, | ||
children | ||
} | ||
); | ||
} | ||
@@ -41,0 +50,0 @@ ); |
{ | ||
"name": "@react-email/column", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Display a column that separates content areas vertically in your email", | ||
@@ -20,4 +20,4 @@ "sideEffects": false, | ||
"test:watch": "jest --watch", | ||
"format:check": "prettier --ignore-path ./../../.prettierignore --check \"**/*.{ts,tsx,md}\"", | ||
"format": "prettier --ignore-path ./../../.prettierignore --write \"**/*.{ts,tsx,md}\"" | ||
"format:check": "prettier --check \"**/*.{ts,tsx,md}\"", | ||
"format": "prettier --write \"**/*.{ts,tsx,md}\"" | ||
}, | ||
@@ -41,3 +41,2 @@ "repository": { | ||
"@babel/preset-react": "7.18.6", | ||
"@react-email/render": "*", | ||
"@types/react": "18.0.20", | ||
@@ -47,6 +46,5 @@ "@types/react-dom": "18.0.6", | ||
"eslint": "8.23.1", | ||
"eslint-config-custom": "*", | ||
"jest": "28.1.3", | ||
"prettier": "2.8.4", | ||
"ts-jest": "28.0.8", | ||
"tsconfig": "*", | ||
"tsup": "6.2.3", | ||
@@ -53,0 +51,0 @@ "typescript": "4.8.3" |
Sorry, the diff of this file is not supported yet
7831
0.76%10
-16.67%77
30.51%