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

@react-email/button

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-email/button - npm Package Compare versions

Comparing version 0.0.17-canary.1 to 0.0.17

2

dist/index.d.ts
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

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