@react-email/render
v1.0.3
Published
Transform React components into HTML email templates
Downloads
3,057,564
Readme
Install
Install component from your command line.
With yarn
yarn add @react-email/render -E
With npm
npm install @react-email/render -E
Getting started
Convert React components into a HTML string.
import { MyTemplate } from "../components/MyTemplate";
import { render } from "@react-email/render";
const html = await render(<MyTemplate firstName="Jim" />);
License
MIT License