tdg-react-doc-viewer
Version:
File viewer for React.
14 lines (12 loc) • 528 B
TypeScript
import { default as React, Dispatch } from 'react';
import { DocViewerProps } from '../DocViewer';
import { MainStateActions } from './actions';
import { IMainState } from './mainStateReducer';
declare const DocViewerContext: React.Context<{
state: IMainState;
dispatch: Dispatch<MainStateActions>;
}>;
declare const DocViewerProvider: React.ForwardRefExoticComponent<DocViewerProps & {
children?: React.ReactNode | undefined;
} & React.RefAttributes<DocViewerRef>>;
export { DocViewerContext, DocViewerProvider };