UNPKG

react-to-html

Version:

A react package to generate HTML for conversion to Email or PDF from shared components

13 lines (12 loc) 346 B
import { DecoratorFunction } from './'; export interface BaseConfig { content: { path: string; props: Record<string, any>; }[]; pageHeight?: string; pageWidth?: string; outputFormat: 'minified' | 'pretty'; decorator?: DecoratorFunction; } export declare const renderInvoiceForBackend: () => Promise<void>;