mirror of
https://github.com/resend/react-email.git
synced 2026-09-14 14:18:02 +08:00
d0a7a52254
Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: João Melo <jopcmelo@gmail.com>
31 lines
658 B
TypeScript
31 lines
658 B
TypeScript
import {
|
|
Body,
|
|
Container,
|
|
Head,
|
|
Heading,
|
|
Html,
|
|
Section,
|
|
Tailwind,
|
|
Text,
|
|
} from 'react-email';
|
|
|
|
export default function Example() {
|
|
return (
|
|
<Html>
|
|
<Head />
|
|
<Tailwind>
|
|
<Body className="font-sans margin-0 p-0">
|
|
<Container className="p-4">
|
|
<Section className="bg-gray-100 p-5 rounded-lg">
|
|
<Heading className="text-gray-400">Hello, World!</Heading>
|
|
<Text className="text-gray-400">
|
|
This is a simple email template using React Email.
|
|
</Text>
|
|
</Section>
|
|
</Container>
|
|
</Body>
|
|
</Tailwind>
|
|
</Html>
|
|
);
|
|
}
|