🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@react-email/link

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-email/link - npm Package Compare versions

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

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

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

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

Link.displayName = "Link";
Link.tailwindTreatAsElement = true;

@@ -20,0 +19,0 @@ //#endregion

+1
-1

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

{"version":3,"file":"index.mjs","names":[],"sources":["../src/link.tsx"],"sourcesContent":["import * as React from 'react';\n\nexport type LinkProps = Readonly<React.ComponentPropsWithoutRef<'a'>>;\n\nexport const Link = React.forwardRef<HTMLAnchorElement, LinkProps>(\n ({ target = '_blank', style, ...props }, ref) => (\n <a\n {...props}\n ref={ref}\n style={{\n color: '#067df7',\n textDecorationLine: 'none',\n ...style,\n }}\n target={target}\n >\n {props.children}\n </a>\n ),\n);\n\nLink.displayName = 'Link';\n(Link as any).tailwindTreatAsElement = true;\n"],"mappings":";;;;AAIA,MAAa,OAAO,MAAM,YACvB,EAAE,SAAS,UAAU,MAAO,GAAG,SAAS,QACvC,oBAAC;CACC,GAAI;CACC;CACL,OAAO;EACL,OAAO;EACP,oBAAoB;EACpB,GAAG;EACJ;CACO;WAEP,MAAM;EACL,CAEP;AAED,KAAK,cAAc;AACnB,AAAC,KAAa,yBAAyB"}
{"version":3,"file":"index.mjs","names":[],"sources":["../src/link.tsx"],"sourcesContent":["import * as React from 'react';\n\nexport type LinkProps = Readonly<React.ComponentPropsWithoutRef<'a'>>;\n\nexport const Link = React.forwardRef<HTMLAnchorElement, LinkProps>(\n ({ target = '_blank', style, ...props }, ref) => (\n <a\n {...props}\n ref={ref}\n style={{\n color: '#067df7',\n textDecorationLine: 'none',\n ...style,\n }}\n target={target}\n >\n {props.children}\n </a>\n ),\n);\n\nLink.displayName = 'Link';\n"],"mappings":";;;;AAIA,MAAa,OAAO,MAAM,YACvB,EAAE,SAAS,UAAU,MAAO,GAAG,SAAS,QACvC,oBAAC;CACC,GAAI;CACC;CACL,OAAO;EACL,OAAO;EACP,oBAAoB;EACpB,GAAG;EACJ;CACO;WAEP,MAAM;EACL,CAEP;AAED,KAAK,cAAc"}
{
"name": "@react-email/link",
"version": "0.0.13-tailwindv4.0",
"version": "0.0.13",
"description": "A hyperlink to web pages, email addresses, or anything else a URL can address",

@@ -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 @@ },