react-pdf-builder
Version:
Build beautiful PDF documents in React.
14 lines (13 loc) • 355 B
TypeScript
import { PageSizeString } from '../pages/PageSizes';
/**
* Contains utility functions for working with backdrops.
*/
export declare class Backdrops {
static getDimensions(size: PageSizeString | {
width: number;
height: number;
}, orientation?: 'portrait' | 'landscape'): {
width: number;
height: number;
};
}