@react-email/render
Transform React components into HTML email templates.
Install component from your command line.
yarn add @react-email/render -E
npm install @react-email/render -E
Convert React components into a HTML string.
import { MyTemplate } from '../components/MyTemplate';
import { render } from '@react-email/render';
const html = render(<MyTemplate firstName="Jim" />);
MIT License