@react-email/container
A layout component that centers all the email content.
Install component from your command line.
yarn add @react-email/container -E
npm install @react-email/container -E
Add the component to your email template. Include styles where needed.
import { Button } from "@react-email/button";
import { Container } from "@react-email/container";
const Email = () => {
return (
<Container>
<Button href="https://example.com" style={{ color: "#61dafb" }}>
Click me
</Button>
</Container>
);
};
MIT License