@visulima/email
Version:
A comprehensive email library with multi-provider support, crypto utilities, and template engines
12 lines (11 loc) • 546 B
TypeScript
import type { TemplateRenderer } from "./types.d.ts";
/**
* Renders a React Email component to HTML.
* @param template The React component from \@react-email/components to render.
* @param _data Data object (not used for React Email, but kept for API compatibility).
* @param options Render options including plainText and pretty formatting.
* @returns The rendered HTML string.
* @throws {EmailError} When \@react-email/render is not installed or rendering fails.
*/
declare const reactEmail: TemplateRenderer;
export default reactEmail;