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.1
to
0.0.2
+3
-3
dist/index.d.ts
import * as React from 'react';
declare type RootProps = React.ComponentPropsWithoutRef<'p'>;
interface PProps extends RootProps {
interface TextProps extends RootProps {
}
declare const P: React.ForwardRefExoticComponent<Readonly<PProps> & React.RefAttributes<HTMLParagraphElement>>;
declare const Text: React.ForwardRefExoticComponent<Readonly<TextProps> & React.RefAttributes<HTMLParagraphElement>>;
export { P, PProps };
export { Text, TextProps };

@@ -29,10 +29,10 @@ "use strict";

__export(src_exports, {
P: () => P
Text: () => Text
});
module.exports = __toCommonJS(src_exports);
// src/p.tsx
// src/text.tsx
var React = __toESM(require("react"));
var import_jsx_runtime = require("react/jsx-runtime");
var P = React.forwardRef(
var Text = React.forwardRef(
({ style, ...props }, forwardedRef) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {

@@ -49,6 +49,6 @@ ref: forwardedRef,

);
P.displayName = "P";
Text.displayName = "Text";
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
P
Text
});

@@ -1,5 +0,5 @@

// src/p.tsx
// src/text.tsx
import * as React from "react";
import { jsx } from "react/jsx-runtime";
var P = React.forwardRef(
var Text = React.forwardRef(
({ style, ...props }, forwardedRef) => /* @__PURE__ */ jsx("p", {

@@ -16,5 +16,5 @@ ref: forwardedRef,

);
P.displayName = "P";
Text.displayName = "Text";
export {
P
Text
};
{
"name": "@react-email/text",
"version": "0.0.1",
"version": "0.0.2",
"description": "A block of text separated by blank spaces",

@@ -5,0 +5,0 @@ "sideEffects": false,

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

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

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

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

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