UNPKG

@faire/mjml-react

Version:

React component library to generate the HTML emails on the fly

10 lines (9 loc) 326 B
import { MJMLParsingOptions, MJMLJsonObject, MJMLParseError } from "mjml-core"; import React from "react"; interface ConvertedHtml { html: string; json?: MJMLJsonObject; errors?: MJMLParseError[]; } export declare function render(email: React.ReactElement, options?: MJMLParsingOptions): ConvertedHtml; export {};