@react-email/row
Advanced tools
Comparing version 0.0.8 to 0.0.9-canary.0
@@ -7,4 +7,4 @@ import * as React from 'react'; | ||
} | ||
declare const Row: React.FC<Readonly<RowProps>>; | ||
declare const Row: React.ForwardRefExoticComponent<Readonly<RowProps> & React.RefAttributes<HTMLTableElement>>; | ||
export { Row, RowProps }; |
"use strict"; | ||
var __create = Object.create; | ||
var __defProp = Object.defineProperty; | ||
@@ -8,2 +9,3 @@ var __defProps = Object.defineProperties; | ||
var __getOwnPropSymbols = Object.getOwnPropertySymbols; | ||
var __getProtoOf = Object.getPrototypeOf; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
@@ -48,2 +50,10 @@ var __propIsEnum = Object.prototype.propertyIsEnumerable; | ||
}; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | ||
// If the importer is in node compatibility mode or this is not an ESM | ||
// file that has been converted to a CommonJS file using a Babel- | ||
// compatible transform (i.e. "__esModule" has not been set), then set | ||
// "default" to the CommonJS "module.exports" for node compatibility. | ||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | ||
mod | ||
)); | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
@@ -59,11 +69,6 @@ | ||
// src/row.tsx | ||
var React = __toESM(require("react")); | ||
var import_jsx_runtime = require("react/jsx-runtime"); | ||
var Row = (_a) => { | ||
var _b = _a, { | ||
children, | ||
style | ||
} = _b, props = __objRest(_b, [ | ||
"children", | ||
"style" | ||
]); | ||
var Row = React.forwardRef((_a, ref) => { | ||
var _b = _a, { children, style } = _b, props = __objRest(_b, ["children", "style"]); | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)( | ||
@@ -78,2 +83,3 @@ "table", | ||
cellSpacing: "0", | ||
ref, | ||
role: "presentation", | ||
@@ -84,3 +90,4 @@ style, | ||
); | ||
}; | ||
}); | ||
Row.displayName = "Row"; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -87,0 +94,0 @@ 0 && (module.exports = { |
{ | ||
"name": "@react-email/row", | ||
"version": "0.0.8", | ||
"version": "0.0.9-canary.0", | ||
"description": "A React row component", | ||
@@ -38,3 +38,3 @@ "sideEffects": false, | ||
"peerDependencies": { | ||
"react": "^18.2.0" | ||
"react": "^18.0 || ^19.0 || ^19.0.0-rc" | ||
}, | ||
@@ -44,5 +44,5 @@ "devDependencies": { | ||
"typescript": "5.1.6", | ||
"@react-email/render": "0.0.13", | ||
"eslint-config-custom": "0.0.0", | ||
"tsconfig": "0.0.0" | ||
"tsconfig": "0.0.0", | ||
"@react-email/render": "0.0.17-canary.0" | ||
}, | ||
@@ -49,0 +49,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
11550
152