Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-email/html

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-email/html - npm Package Compare versions

Comparing version 0.0.10-canary.0 to 0.0.10

3

dist/index.d.ts
import * as React from 'react';
type RootProps = React.ComponentPropsWithoutRef<"html">;
type HtmlProps = RootProps;
type HtmlProps = Readonly<React.ComponentPropsWithoutRef<"html">>;
declare const Html: React.ForwardRefExoticComponent<Readonly<Omit<React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement>, "ref">> & React.RefAttributes<HTMLHtmlElement>>;
export { Html, HtmlProps };

@@ -69,6 +69,8 @@ "use strict";

var import_jsx_runtime = require("react/jsx-runtime");
var Html = React.forwardRef((_a, ref) => {
var _b = _a, { children, lang = "en", dir = "ltr" } = _b, props = __objRest(_b, ["children", "lang", "dir"]);
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("html", __spreadProps(__spreadValues({}, props), { dir, lang, ref, children }));
});
var Html = React.forwardRef(
(_a, ref) => {
var _b = _a, { children, lang = "en", dir = "ltr" } = _b, props = __objRest(_b, ["children", "lang", "dir"]);
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("html", __spreadProps(__spreadValues({}, props), { dir, lang, ref, children }));
}
);
Html.displayName = "Html";

@@ -75,0 +77,0 @@ // Annotate the CommonJS export names for ESM import in node:

{
"name": "@react-email/html",
"version": "0.0.10-canary.0",
"version": "0.0.10",
"description": "A React html component to wrap emails",

@@ -41,7 +41,6 @@ "sideEffects": false,

"devDependencies": {
"@babel/preset-react": "7.23.3",
"typescript": "5.1.6",
"@react-email/render": "0.0.18-canary.0",
"tsconfig": "0.0.0",
"eslint-config-custom": "0.0.0"
"@react-email/render": "1.0.0",
"eslint-config-custom": "0.0.0",
"tsconfig": "0.0.0"
},

@@ -48,0 +47,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc