@pdf-viewer/react
Version:
A react-pdf-viewer component for React and Next.js. Suitable for react-pdf document.
13 lines (12 loc) • 567 B
TypeScript
import { PropsWithChildren } from 'react';
interface Props extends PropsWithChildren {
container: HTMLDivElement | null;
contentRef: HTMLDivElement | null;
pagesRef: HTMLDivElement | null;
setContainer: (container: HTMLDivElement | null) => void;
setContentRef: (contentRef: HTMLDivElement | null) => void;
setPagesRef: (pagesRef: HTMLDivElement | null) => void;
}
export declare const LayoutContainerContext: import('react').Context<Omit<Props, "children">>;
export declare const useLayoutContainer: () => Omit<Props, "children">;
export {};