@react-email/preview
Advanced tools
+1
-1
| import * as react_jsx_runtime from 'react/jsx-runtime'; | ||
| import * as React from 'react'; | ||
| type PreviewProps = Readonly<React.ComponentPropsWithoutRef<"div"> & { | ||
| type PreviewProps = Readonly<React.ComponentPropsWithoutRef<'div'> & { | ||
| children: string | string[]; | ||
@@ -6,0 +6,0 @@ }>; |
+1
-1
| import * as react_jsx_runtime from 'react/jsx-runtime'; | ||
| import * as React from 'react'; | ||
| type PreviewProps = Readonly<React.ComponentPropsWithoutRef<"div"> & { | ||
| type PreviewProps = Readonly<React.ComponentPropsWithoutRef<'div'> & { | ||
| children: string | string[]; | ||
@@ -6,0 +6,0 @@ }>; |
+5
-4
@@ -60,8 +60,8 @@ "use strict"; | ||
| // src/index.ts | ||
| var src_exports = {}; | ||
| __export(src_exports, { | ||
| var index_exports = {}; | ||
| __export(index_exports, { | ||
| Preview: () => Preview, | ||
| renderWhiteSpace: () => renderWhiteSpace | ||
| }); | ||
| module.exports = __toCommonJS(src_exports); | ||
| module.exports = __toCommonJS(index_exports); | ||
@@ -86,3 +86,4 @@ // src/preview.tsx | ||
| maxWidth: 0 | ||
| } | ||
| }, | ||
| "data-skip-in-text": true | ||
| }, props), { | ||
@@ -89,0 +90,0 @@ ref, |
+2
-1
@@ -51,3 +51,4 @@ var __defProp = Object.defineProperty; | ||
| maxWidth: 0 | ||
| } | ||
| }, | ||
| "data-skip-in-text": true | ||
| }, props), { | ||
@@ -54,0 +55,0 @@ ref, |
+3
-5
| { | ||
| "name": "@react-email/preview", | ||
| "version": "0.0.12", | ||
| "version": "0.0.13", | ||
| "description": "A preview text that will be displayed in the inbox of the recipient", | ||
@@ -41,5 +41,4 @@ "sideEffects": false, | ||
| "devDependencies": { | ||
| "typescript": "5.1.6", | ||
| "@react-email/render": "1.0.3", | ||
| "eslint-config-custom": "0.0.0", | ||
| "typescript": "5.8.3", | ||
| "@react-email/render": "1.1.1", | ||
| "tsconfig": "0.0.0" | ||
@@ -54,3 +53,2 @@ }, | ||
| "dev": "tsup src/index.ts --format esm,cjs --dts --external react --watch", | ||
| "lint": "eslint .", | ||
| "test:watch": "vitest", | ||
@@ -57,0 +55,0 @@ "test": "vitest run" |
12844
0.12%3
-25%190
1.06%