@react-email/column 0.0.4-canary.0 → 0.0.6-canary.0
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/package.json +3 -3
- package/readme.md +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-email/column",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6-canary.0",
|
|
4
4
|
"description": "Display a column that separates content areas vertically in your email",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
|
-
"url": "https://github.com/
|
|
25
|
+
"url": "https://github.com/resendlabs/react-email.git",
|
|
26
26
|
"directory": "packages/column"
|
|
27
27
|
},
|
|
28
28
|
"keywords": [
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"email"
|
|
31
31
|
],
|
|
32
32
|
"engines": {
|
|
33
|
-
"node": ">=
|
|
33
|
+
"node": ">=16.0.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"react": "18.2.0"
|
package/readme.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div align="center">
|
|
7
7
|
<a href="https://react.email">Website</a>
|
|
8
8
|
<span> · </span>
|
|
9
|
-
<a href="https://github.com/
|
|
9
|
+
<a href="https://github.com/resendlabs/react-email">GitHub</a>
|
|
10
10
|
<span> · </span>
|
|
11
11
|
<a href="https://react.email/discord">Discord</a>
|
|
12
12
|
</div>
|
|
@@ -32,16 +32,16 @@ npm install @react-email/column -E
|
|
|
32
32
|
Add the component to your email template. Include styles where needed.
|
|
33
33
|
|
|
34
34
|
```jsx
|
|
35
|
-
import {
|
|
35
|
+
import { Row } from '@react-email/row';
|
|
36
36
|
import { Column } from '@react-email/column';
|
|
37
37
|
|
|
38
38
|
const Email = () => {
|
|
39
39
|
return(
|
|
40
|
-
<
|
|
40
|
+
<Row>
|
|
41
41
|
<Column>A<Column/>
|
|
42
42
|
<Column>B<Column/>
|
|
43
43
|
<Column>C<Column/>
|
|
44
|
-
</
|
|
44
|
+
</Row>
|
|
45
45
|
);
|
|
46
46
|
};
|
|
47
47
|
```
|