@cyntler/react-doc-viewer
Version:
File viewer for React.
14 lines (12 loc) • 439 B
TypeScript
import { default as React, Dispatch, FC, PropsWithChildren } from 'react';
import { IMainState } from '../../../store/mainStateReducer';
import { PDFActions } from './actions';
import { IPDFState } from './reducer';
declare const PDFContext: React.Context<{
state: IPDFState;
dispatch: Dispatch<PDFActions>;
}>;
declare const PDFProvider: FC<PropsWithChildren<{
mainState: IMainState;
}>>;
export { PDFContext, PDFProvider };