UNPKG

@pdf-viewer/react

Version:

The PDF Viewer component for React and Next.js

12 lines (11 loc) 414 B
import { FC, PropsWithChildren } from 'react'; interface DownloadContextType { downloadFilename?: string; } export declare const DownloadContext: import('react').Context<DownloadContextType | undefined>; interface Props extends PropsWithChildren { downloadFilename?: string; } export declare const useDownloadContext: () => DownloadContextType; export declare const DownloadProvider: FC<Props>; export {};