@react-email/link
Advanced tools
Comparing version 0.0.4 to 0.0.5
import * as React from 'react'; | ||
declare type RootProps = React.ComponentPropsWithoutRef<'a'>; | ||
declare type RootProps = React.ComponentPropsWithoutRef<"a">; | ||
interface LinkProps extends RootProps { | ||
@@ -5,0 +5,0 @@ } |
@@ -40,3 +40,5 @@ "use strict"; | ||
{ | ||
...props, | ||
ref: forwardedRef, | ||
"data-id": "react-email-link", | ||
target, | ||
@@ -47,4 +49,3 @@ style: { | ||
...style | ||
}, | ||
...props | ||
} | ||
} | ||
@@ -51,0 +52,0 @@ ) |
{ | ||
"name": "@react-email/link", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "A hyperlink to web pages, email addresses, or anything else a URL can address", | ||
@@ -20,4 +20,4 @@ "sideEffects": false, | ||
"test:watch": "jest --watch", | ||
"format:check": "prettier --ignore-path ./../../.prettierignore --check \"**/*.{ts,tsx,md}\"", | ||
"format": "prettier --ignore-path ./../../.prettierignore --write \"**/*.{ts,tsx,md}\"" | ||
"format:check": "prettier --check \"**/*.{ts,tsx,md}\"", | ||
"format": "prettier --write \"**/*.{ts,tsx,md}\"" | ||
}, | ||
@@ -41,3 +41,2 @@ "repository": { | ||
"@babel/preset-react": "7.18.6", | ||
"@react-email/render": "*", | ||
"@types/react": "18.0.20", | ||
@@ -47,6 +46,5 @@ "@types/react-dom": "18.0.6", | ||
"eslint": "8.23.1", | ||
"eslint-config-custom": "*", | ||
"jest": "28.1.3", | ||
"prettier": "2.8.4", | ||
"ts-jest": "28.0.8", | ||
"tsconfig": "*", | ||
"tsup": "6.2.3", | ||
@@ -53,0 +51,0 @@ "typescript": "4.8.3" |
@@ -35,3 +35,3 @@ ![React Email link cover](https://react.email/static/covers/link.png) | ||
```jsx | ||
import { Link } from '@react-email/link'; | ||
import { Link } from "@react-email/link"; | ||
@@ -38,0 +38,0 @@ const Email = () => { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
10
83
0
8198