Files
pdfme/packages/cli/__tests__/helpers.ts
Kyohei Fukuda 03f616f0c5 [codex] Add @pdfme/jsx package (#1466)
* feat(jsx): add pdfme jsx package

* refactor(jsx): derive text props from schema types

* fix(jsx): tighten mvp layout constraints

* feat(jsx): measure text height with schema helpers

* docs: update jsx md2pdf roadmap
2026-05-05 17:48:19 +09:00

7 lines
188 B
TypeScript

import { PAGE_SIZE_PRESETS } from '@pdfme/common';
export const a4BasePdf = (padding: [number, number, number, number] = [20, 20, 20, 20]) => ({
...PAGE_SIZE_PRESETS.A4,
padding,
});