Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@react-email/text

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-email/text - npm Package Compare versions

Comparing version
0.0.2
to
0.0.3
+13
-10
dist/index.js

@@ -37,12 +37,15 @@ "use strict";

var Text = React.forwardRef(
({ style, ...props }, forwardedRef) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
ref: forwardedRef,
style: {
fontSize: "14px",
lineHeight: "24px",
margin: "16px 0",
...style
},
...props
})
({ style, ...props }, forwardedRef) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
"p",
{
ref: forwardedRef,
style: {
fontSize: "14px",
lineHeight: "24px",
margin: "16px 0",
...style
},
...props
}
)
);

@@ -49,0 +52,0 @@ Text.displayName = "Text";

@@ -5,12 +5,15 @@ // src/text.tsx

var Text = React.forwardRef(
({ style, ...props }, forwardedRef) => /* @__PURE__ */ jsx("p", {
ref: forwardedRef,
style: {
fontSize: "14px",
lineHeight: "24px",
margin: "16px 0",
...style
},
...props
})
({ style, ...props }, forwardedRef) => /* @__PURE__ */ jsx(
"p",
{
ref: forwardedRef,
style: {
fontSize: "14px",
lineHeight: "24px",
margin: "16px 0",
...style
},
...props
}
)
);

@@ -17,0 +20,0 @@ Text.displayName = "Text";

{
"name": "@react-email/text",
"version": "0.0.2",
"version": "0.0.3",
"description": "A block of text separated by blank spaces",

@@ -16,9 +16,21 @@ "sideEffects": false,

"dev": "tsup src/index.ts --format esm,cjs --dts --external react --watch",
"lint": "TIMING=1 eslint src/**/*.ts* --fix",
"lint": "eslint",
"clean": "rm -rf dist",
"test": "jest",
"test:watch": "jest --watch",
"format:check": "prettier --check \"**/*.{ts,tsx,md}\"",
"format": "prettier --write \"**/*.{ts,tsx,md}\""
"format:check": "prettier --ignore-path ./../../.prettierignore --check \"**/*.{ts,tsx,md}\"",
"format": "prettier --ignore-path ./../../.prettierignore --write \"**/*.{ts,tsx,md}\""
},
"repository": {
"type": "git",
"url": "https://github.com/zenorocha/react-email.git",
"directory": "packages/text"
},
"keywords": [
"react",
"email"
],
"engines": {
"node": ">=18.0.0"
},
"dependencies": {

@@ -44,2 +56,2 @@ "react": "18.2.0"

}
}
}

@@ -1,2 +0,2 @@

![React Email text cover](https://react.email/static/images/readme/covers/text.png)
![React Email text cover](https://react.email/static/covers/text.png)

@@ -46,5 +46,5 @@ <div align="center"><strong>@react-email/text</strong></div>

| <img src="https://react.email/static/images/readme/icons/gmail.svg" width="48px" height="48px" alt="Gmail logo"> | <img src="https://react.email/static/images/readme/icons/apple-mail.svg" width="48px" height="48px" alt="Apple Mail"> | <img src="https://react.email/static/images/readme/icons/outlook.svg" width="48px" height="48px" alt="Outlook logo"> | <img src="https://react.email/static/images/readme/icons/yahoo-mail.svg" width="48px" height="48px" alt="Yahoo! Mail logo"> | <img src="https://react.email/static/images/readme/icons/hey.svg" width="48px" height="48px" alt="HEY logo"> | <img src="https://react.email/static/images/readme/icons/superhuman.svg" width="48px" height="48px" alt="Superhuman logo"> |
| ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------- |
| Gmail ✔ | Apple Mail ✔ | Outlook ✔ | Yahoo! Mail ✔ | HEY ✔ | Superhuman ✔ |
| <img src="https://react.email/static/icons/gmail.svg" width="48px" height="48px" alt="Gmail logo"> | <img src="https://react.email/static/icons/apple-mail.svg" width="48px" height="48px" alt="Apple Mail"> | <img src="https://react.email/static/icons/outlook.svg" width="48px" height="48px" alt="Outlook logo"> | <img src="https://react.email/static/icons/yahoo-mail.svg" width="48px" height="48px" alt="Yahoo! Mail logo"> | <img src="https://react.email/static/icons/hey.svg" width="48px" height="48px" alt="HEY logo"> | <img src="https://react.email/static/icons/superhuman.svg" width="48px" height="48px" alt="Superhuman logo"> |
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| Gmail ✔ | Apple Mail ✔ | Outlook ✔ | Yahoo! Mail ✔ | HEY ✔ | Superhuman ✔ |

@@ -51,0 +51,0 @@ ## License