UNPKG

react-pdf-printer

Version:
14 lines (13 loc) 455 B
import React from 'react'; import { PrinterConfiguration } from 'model'; export declare type DocumentContextValue = { header: React.ReactNode; footer: React.ReactNode; configuration: PrinterConfiguration; subscribe: (key: string) => void; run: (key: string) => void; reset: (key: string) => void; isPending: boolean; }; declare const DocumentContext: React.Context<DocumentContextValue | null>; export default DocumentContext;