Skip to content

Latest commit

 

History

History
 
 

render

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

React Email button cover

@react-email/render
Transform React components into HTML email templates.

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 = render(<MyTemplate firstName="Jim" />);

License

MIT License