@react-email/row 0.0.4 → 0.0.5
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 +1 -1
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +5 -7
- package/readme.md +2 -2
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -38,11 +38,12 @@ var Row = React.forwardRef(
|
|
|
38
38
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
39
39
|
"table",
|
|
40
40
|
{
|
|
41
|
+
align: "center",
|
|
41
42
|
width: "100%",
|
|
42
43
|
...props,
|
|
43
44
|
ref: forwardedRef,
|
|
45
|
+
"data-id": "react-email-row",
|
|
44
46
|
style,
|
|
45
|
-
align: "center",
|
|
46
47
|
role: "presentation",
|
|
47
48
|
cellSpacing: "0",
|
|
48
49
|
cellPadding: "0",
|
package/dist/index.mjs
CHANGED
|
@@ -6,11 +6,12 @@ var Row = React.forwardRef(
|
|
|
6
6
|
return /* @__PURE__ */ jsx(
|
|
7
7
|
"table",
|
|
8
8
|
{
|
|
9
|
+
align: "center",
|
|
9
10
|
width: "100%",
|
|
10
11
|
...props,
|
|
11
12
|
ref: forwardedRef,
|
|
13
|
+
"data-id": "react-email-row",
|
|
12
14
|
style,
|
|
13
|
-
align: "center",
|
|
14
15
|
role: "presentation",
|
|
15
16
|
cellSpacing: "0",
|
|
16
17
|
cellPadding: "0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-email/row",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "A React row component",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"lint": "eslint",
|
|
17
17
|
"clean": "rm -rf dist",
|
|
18
18
|
"test": "jest",
|
|
19
|
-
"format:check": "prettier --
|
|
20
|
-
"format": "prettier --
|
|
19
|
+
"format:check": "prettier --check \"**/*.{ts,tsx,md}\"",
|
|
20
|
+
"format": "prettier --write \"**/*.{ts,tsx,md}\""
|
|
21
21
|
},
|
|
22
22
|
"repository": {
|
|
23
23
|
"type": "git",
|
|
@@ -33,16 +33,14 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@babel/preset-react": "7.18.6",
|
|
36
|
-
"@react-email/render": "*",
|
|
37
36
|
"@types/react": "18.0.20",
|
|
38
37
|
"@types/react-dom": "18.0.6",
|
|
39
38
|
"babel-jest": "28.1.3",
|
|
40
39
|
"eslint": "8.23.1",
|
|
41
|
-
"eslint-config-custom": "*",
|
|
42
|
-
"react": "18.2.0",
|
|
43
40
|
"jest": "28.1.3",
|
|
41
|
+
"prettier": "2.8.4",
|
|
42
|
+
"react": "18.2.0",
|
|
44
43
|
"ts-jest": "28.0.8",
|
|
45
|
-
"tsconfig": "*",
|
|
46
44
|
"tsup": "6.2.3",
|
|
47
45
|
"typescript": "4.8.3"
|
|
48
46
|
},
|
package/readme.md
CHANGED
|
@@ -32,8 +32,8 @@ npm install @react-email/row -E
|
|
|
32
32
|
Add the component to your email template. Include styles where needed.
|
|
33
33
|
|
|
34
34
|
```jsx
|
|
35
|
-
import { Column } from
|
|
36
|
-
import { Row } from
|
|
35
|
+
import { Column } from "@react-email/column";
|
|
36
|
+
import { Row } from "@react-email/row";
|
|
37
37
|
|
|
38
38
|
const Email = () => {
|
|
39
39
|
return (
|