Function to convert React Email Layouts to HTML.
HTML version of the email in string format.
import { generateEmail } from '@leopardslab/react-email';import { EmailLayout } from './EmailLayout';const html = generateEmail(EmailLayout());console.log(html);
React email layout which needs to be converted.
Optional
An optional param options for the additional configurations.
Generated using TypeDoc
Function to convert React Email Layouts to HTML.
Returns
HTML version of the email in string format.
Example