UNPKG

tdg-react-doc-viewer

Version:
14 lines (12 loc) 528 B
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 };