@react-email/row 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
|
|
3
3
|
declare type RootProps = React.ComponentPropsWithoutRef<'table'>;
|
|
4
|
-
interface
|
|
4
|
+
interface RowProps extends RootProps {
|
|
5
|
+
children: React.ReactNode;
|
|
5
6
|
}
|
|
6
|
-
declare const Row: React.ForwardRefExoticComponent<Readonly<
|
|
7
|
+
declare const Row: React.ForwardRefExoticComponent<Readonly<RowProps> & React.RefAttributes<HTMLTableElement>>;
|
|
7
8
|
|
|
8
|
-
export { Row,
|
|
9
|
+
export { Row, RowProps };
|
package/dist/index.js
CHANGED
|
@@ -38,6 +38,7 @@ var Row = React.forwardRef(
|
|
|
38
38
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
39
39
|
"table",
|
|
40
40
|
{
|
|
41
|
+
width: "100%",
|
|
41
42
|
...props,
|
|
42
43
|
ref: forwardedRef,
|
|
43
44
|
style,
|
|
@@ -46,7 +47,6 @@ var Row = React.forwardRef(
|
|
|
46
47
|
cellSpacing: "0",
|
|
47
48
|
cellPadding: "0",
|
|
48
49
|
border: 0,
|
|
49
|
-
width: "100%",
|
|
50
50
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("tbody", { style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("tr", { style: { width: "100%" }, children }) })
|
|
51
51
|
}
|
|
52
52
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -6,6 +6,7 @@ var Row = React.forwardRef(
|
|
|
6
6
|
return /* @__PURE__ */ jsx(
|
|
7
7
|
"table",
|
|
8
8
|
{
|
|
9
|
+
width: "100%",
|
|
9
10
|
...props,
|
|
10
11
|
ref: forwardedRef,
|
|
11
12
|
style,
|
|
@@ -14,7 +15,6 @@ var Row = React.forwardRef(
|
|
|
14
15
|
cellSpacing: "0",
|
|
15
16
|
cellPadding: "0",
|
|
16
17
|
border: 0,
|
|
17
|
-
width: "100%",
|
|
18
18
|
children: /* @__PURE__ */ jsx("tbody", { style: { width: "100%" }, children: /* @__PURE__ */ jsx("tr", { style: { width: "100%" }, children }) })
|
|
19
19
|
}
|
|
20
20
|
);
|