@react-email/row
Advanced tools
Comparing version 0.0.10-canary.0 to 0.0.10
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
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
11775
4
157