react-to-print
Version:
Print React components in the browser
4 lines (3 loc) • 330 B
TypeScript
import type { Font } from "../types/font";
import type { UseReactToPrintOptions } from "../types/UseReactToPrintOptions";
export declare function getMarkedLoaded(options: UseReactToPrintOptions, numResourcesToLoad: number, printWindow: HTMLIFrameElement): (resource: Element | Font | FontFace, errorMessages?: unknown[]) => void;