@pdf-viewer/react
Version:
A react-pdf-viewer component for React and Next.js. Suitable for react-pdf document.
18 lines (17 loc) • 366 B
TypeScript
interface Style {
width?: string;
height?: string;
top?: string;
left?: string;
bottom?: string;
right?: string;
}
export declare const elementPagePosition: ({ width, height, top, left, bottom, right }: Style) => {
left: string;
top: string;
width: string;
height: string;
bottom: string;
right: string;
};
export {};