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

@react-email/button

Package Overview
Dependencies
Maintainers
2
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.7 to 0.0.8

7

dist/index.js

@@ -78,6 +78,5 @@ "use strict";

var buttonStyle = (style) => {
const paddingY = (style == null ? void 0 : style.pY) || 0;
const paddingX = (style == null ? void 0 : style.pX) || 0;
const { pY, pX, ...rest } = style || {};
return {
...style,
...rest,
lineHeight: "100%",

@@ -87,3 +86,3 @@ textDecoration: "none",

maxWidth: "100%",
padding: `${paddingY}px ${paddingX}px`
padding: `${pY}px ${pX}px`
};

@@ -90,0 +89,0 @@ };

{
"name": "@react-email/button",
"version": "0.0.7",
"version": "0.0.8",
"description": "A link that is styled to look like a button",

@@ -40,2 +40,4 @@ "sideEffects": false,

"@babel/preset-react": "7.18.6",
"@react-email/render": "0.0.6",
"@types/jest": "29.5.0",
"@types/react": "18.0.20",

@@ -42,0 +44,0 @@ "@types/react-dom": "18.0.6",

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