UNPKG

@progress/kendo-react-pdf

Version:

React PDF Processing enables you to export single- and multi-page content in PDF. KendoReact PDF Processing package

75 lines (74 loc) 2.04 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { default as PropTypes } from 'prop-types'; import * as React from 'react'; /** * Represents the props of the KendoReact PDFMargin component. */ export interface PDFMarginProps { /** * The bottom margin. * * The supported units are: * * `"mm"` * * `"cm"` * * `"in"` * * `"pt"` (default). * * > Numbers are considered to be points (`"pt"`). */ left?: number | string; /** * The top margin. * * The supported units are: * * `"mm"` * * `"cm"` * * `"in"` * * `"pt"` (default). * * > Numbers are considered to be points (`"pt"`). */ top?: number | string; /** * The right margin. * * The supported units are: * * `"mm"` * * `"cm"` * * `"in"` * * `"pt"` (default). * * > Numbers are considered to be points (`"pt"`). */ right?: number | string; /** * The bottom margin. * * The supported units are: * * `"mm"` * * `"cm"` * * `"in"` * * `"pt"` (default). * * > Numbers are considered to be points (`"pt"`). */ bottom?: number | string; } /** * @hidden */ export declare class PDFMargin extends React.Component<PDFMarginProps, {}> { static propTypes: { left: PropTypes.Requireable<NonNullable<string | number | null | undefined>>; top: PropTypes.Requireable<NonNullable<string | number | null | undefined>>; right: PropTypes.Requireable<NonNullable<string | number | null | undefined>>; bottom: PropTypes.Requireable<NonNullable<string | number | null | undefined>>; }; render(): null; }