mirror of
https://github.com/pdfme/pdfme.git
synced 2026-06-16 18:29:17 -04:00
* 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
6 lines
192 B
TypeScript
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];
|