@react-email/container
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "@react-email/container", | ||
"version": "0.0.2", | ||
"description": "A React container component to help build emails", | ||
"version": "0.0.3", | ||
"description": "The main wrapper that hold your content", | ||
"sideEffects": false, | ||
@@ -6,0 +6,0 @@ "main": "./dist/index.js", |
@@ -1,5 +0,5 @@ | ||
![React Email button cover](https://react-email-assets.vercel.app/button.png) | ||
![React Email container cover](https://react-email-assets.vercel.app/container.png) | ||
<div align="center"><strong>@react-email/button</strong></div> | ||
<div align="center">A React button component to help build emails.</div> | ||
<div align="center"><strong>@react-email/container</strong></div> | ||
<div align="center">The main wrapper that hold your content.</div> | ||
<br /> | ||
@@ -21,3 +21,3 @@ <div align="center"> | ||
```sh | ||
yarn add @react-email/button -E | ||
yarn add @react-email/container -E | ||
``` | ||
@@ -28,3 +28,3 @@ | ||
```sh | ||
npm install @react-email/button -E | ||
npm install @react-email/container -E | ||
``` | ||
@@ -37,9 +37,12 @@ | ||
```jsx | ||
import { Button } from '@react-email/button'; | ||
import { Button } from '@react-email/container'; | ||
import { Container } from '@react-email/container'; | ||
const Email = () => { | ||
return ( | ||
<Button href="https://example.com" style={{ color: '#61dafb' }}> | ||
Click me | ||
</Button> | ||
<Container> | ||
<Button href="https://example.com" style={{ color: '#61dafb' }}> | ||
Click me | ||
</Button> | ||
</Container> | ||
); | ||
@@ -46,0 +49,0 @@ }; |
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
11201
52