3.0.1 • Published 6 months ago
@jsx-email/all v3.0.1
@jsx-email/all
Please see the Documentation for information on how to use individual components.
Requirements
This package requires an LTS Node version (v18.0.0+) and React v18.2.0+.
Install
pnpm add @jsx-email/all
# We recommend pnpm - https://pnpm.io
# But npm and yarn are supported
# npm add @jsx-email/all
# yarn add @jsx-email/all
Usage
We recommend using the @jsx-email/cli
for creating new templates.
Create an email template file (e.g. Email.tsx
) and import the component:
import { Heading } from '@jsx-email/all';
const Email = () => {
return <Heading as="h1">Lorem ipsum</Heading>;
};
Please see the @jsx-email/all
Documentation for props and additional usage information.
Attribution 🧡
This package was built upon prior work for react-email
by Bu Kinoshita (@bukinoshita) and Zeno Rocha (@zenorocha).