@react-email/button
Advanced tools
Comparing version 0.0.17-canary.1 to 0.0.17
import * as React from 'react'; | ||
type ButtonProps = React.ComponentPropsWithoutRef<"a">; | ||
type ButtonProps = Readonly<React.ComponentPropsWithoutRef<"a">>; | ||
declare const Button: React.ForwardRefExoticComponent<Readonly<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref">> & React.RefAttributes<HTMLAnchorElement>>; | ||
export { Button, ButtonProps }; |
@@ -69,5 +69,2 @@ "use strict"; | ||
// src/utils/px-to-pt.ts | ||
var pxToPt = (px) => typeof px === "number" && !isNaN(Number(px)) ? px * 3 / 4 : null; | ||
// src/utils/parse-padding.ts | ||
@@ -158,2 +155,5 @@ function convertToPx(value) { | ||
// src/utils/px-to-pt.ts | ||
var pxToPt = (px) => typeof px === "number" && !isNaN(Number(px)) ? px * 3 / 4 : null; | ||
// src/button.tsx | ||
@@ -160,0 +160,0 @@ var import_jsx_runtime = require("react/jsx-runtime"); |
{ | ||
"name": "@react-email/button", | ||
"version": "0.0.17-canary.1", | ||
"version": "0.0.17", | ||
"description": "A link that is styled to look like a button", | ||
@@ -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", | ||
"eslint-config-custom": "0.0.0", | ||
"tsconfig": "0.0.0" | ||
"@react-email/render": "1.0.0", | ||
"tsconfig": "0.0.0", | ||
"eslint-config-custom": "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
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
4
21635