UNPKG

@progress/kendo-react-pdf

Version:

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

30 lines (29 loc) 889 B
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { exportElement as a } from "./export-element.mjs"; function m(t) { return (r, o = {}, n) => u(t, r, o, n); } function u(t, r, o = {}, n) { let e; i(); function i() { t(l(), o, d); } function d() { document.body.removeChild(e), e = void 0, n && n(); } function l() { e = document.createElement("div"), e.className = "k-treelist-pdf-export-element"; const p = a(r); return e.appendChild(p), document.body.appendChild(e), e; } } export { m as provideSaveTreeListPDF };