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

@react-email/row

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-email/row - npm Package Compare versions

Comparing version 0.0.10-canary.0 to 0.0.10

9

dist/index.d.ts
import * as React from 'react';
type RootProps = React.ComponentPropsWithoutRef<"table">;
interface RowProps extends RootProps {
type RowProps = Readonly<React.ComponentPropsWithoutRef<"table"> & {
children: React.ReactNode;
}
declare const Row: React.ForwardRefExoticComponent<Readonly<RowProps> & React.RefAttributes<HTMLTableElement>>;
}>;
declare const Row: React.ForwardRefExoticComponent<Readonly<Omit<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & {
children: React.ReactNode;
}> & React.RefAttributes<HTMLTableElement>>;
export { Row, RowProps };

@@ -69,20 +69,22 @@ "use strict";

var import_jsx_runtime = require("react/jsx-runtime");
var Row = React.forwardRef((_a, ref) => {
var _b = _a, { children, style } = _b, props = __objRest(_b, ["children", "style"]);
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
"table",
__spreadProps(__spreadValues({
align: "center",
width: "100%"
}, props), {
border: 0,
cellPadding: "0",
cellSpacing: "0",
ref,
role: "presentation",
style,
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("tbody", { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("tr", { style: { width: "100%" }, children }) })
})
);
});
var Row = React.forwardRef(
(_a, ref) => {
var _b = _a, { children, style } = _b, props = __objRest(_b, ["children", "style"]);
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
"table",
__spreadProps(__spreadValues({
align: "center",
width: "100%"
}, props), {
border: 0,
cellPadding: "0",
cellSpacing: "0",
ref,
role: "presentation",
style,
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("tbody", { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("tr", { style: { width: "100%" }, children }) })
})
);
}
);
Row.displayName = "Row";

@@ -89,0 +91,0 @@ // Annotate the CommonJS export names for ESM import in node:

{
"name": "@react-email/row",
"version": "0.0.10-canary.0",
"version": "0.0.10",
"description": "A React row component",

@@ -41,7 +41,6 @@ "sideEffects": false,

"devDependencies": {
"@babel/preset-react": "7.23.3",
"typescript": "5.1.6",
"eslint-config-custom": "0.0.0",
"@react-email/render": "0.0.18-canary.0",
"tsconfig": "0.0.0"
"tsconfig": "0.0.0",
"@react-email/render": "1.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