Files
pdfme/packages/ui/__mocks__/converter.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

6 lines
192 B
TypeScript

import { PAGE_SIZE_PRESETS } from '@pdfme/common';
export const pdf2size = async () => [PAGE_SIZE_PRESETS.A4];
export const pdf2img = async () => [new Uint8Array([137, 80, 78, 71]).buffer];