🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@react-email/img

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-email/img - npm Package Compare versions

Comparing version
0.0.12-tailwindv4.0
to
0.0.12
+0
-1
dist/index.js

@@ -46,5 +46,4 @@ //#region rolldown:runtime

Img.displayName = "Img";
Img.tailwindTreatAsElement = true;
//#endregion
exports.Img = Img;

@@ -21,3 +21,2 @@ import * as React from "react";

Img.displayName = "Img";
Img.tailwindTreatAsElement = true;

@@ -24,0 +23,0 @@ //#endregion

+1
-1

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

{"version":3,"file":"index.mjs","names":[],"sources":["../src/img.tsx"],"sourcesContent":["import * as React from 'react';\n\nexport type ImgProps = Readonly<React.ComponentPropsWithoutRef<'img'>>;\n\nexport const Img = React.forwardRef<HTMLImageElement, ImgProps>(\n ({ alt, src, width, height, style, ...props }, ref) => (\n <img\n {...props}\n alt={alt}\n height={height}\n ref={ref}\n src={src}\n style={{\n display: 'block',\n outline: 'none',\n border: 'none',\n textDecoration: 'none',\n ...style,\n }}\n width={width}\n />\n ),\n);\n\nImg.displayName = 'Img';\n(Img as any).tailwindTreatAsElement = true;\n"],"mappings":";;;;AAIA,MAAa,MAAM,MAAM,YACtB,EAAE,KAAK,KAAK,OAAO,QAAQ,MAAO,GAAG,SAAS,QAC7C,oBAAC;CACC,GAAI;CACC;CACG;CACH;CACA;CACL,OAAO;EACL,SAAS;EACT,SAAS;EACT,QAAQ;EACR,gBAAgB;EAChB,GAAG;EACJ;CACM;EACP,CAEL;AAED,IAAI,cAAc;AAClB,AAAC,IAAY,yBAAyB"}
{"version":3,"file":"index.mjs","names":[],"sources":["../src/img.tsx"],"sourcesContent":["import * as React from 'react';\n\nexport type ImgProps = Readonly<React.ComponentPropsWithoutRef<'img'>>;\n\nexport const Img = React.forwardRef<HTMLImageElement, ImgProps>(\n ({ alt, src, width, height, style, ...props }, ref) => (\n <img\n {...props}\n alt={alt}\n height={height}\n ref={ref}\n src={src}\n style={{\n display: 'block',\n outline: 'none',\n border: 'none',\n textDecoration: 'none',\n ...style,\n }}\n width={width}\n />\n ),\n);\n\nImg.displayName = 'Img';\n"],"mappings":";;;;AAIA,MAAa,MAAM,MAAM,YACtB,EAAE,KAAK,KAAK,OAAO,QAAQ,MAAO,GAAG,SAAS,QAC7C,oBAAC;CACC,GAAI;CACC;CACG;CACH;CACA;CACL,OAAO;EACL,SAAS;EACT,SAAS;EACT,QAAQ;EACR,gBAAgB;EAChB,GAAG;EACJ;CACM;EACP,CAEL;AAED,IAAI,cAAc"}
{
"name": "@react-email/img",
"version": "0.0.12-tailwindv4.0",
"version": "0.0.12",
"description": "Display an image in your email",

@@ -35,3 +35,3 @@ "sideEffects": false,

"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
},

@@ -43,3 +43,3 @@ "peerDependencies": {

"typescript": "5.8.3",
"@react-email/render": "1.3.1",
"@react-email/render": "2.0.1",
"tsconfig": "0.0.0"

@@ -46,0 +46,0 @@ },