Skip to Content
BlocksPatient ResultsPatient Results PDF

Patient Results PDF

React-pdf renderer for patient-results documents.

Install

Terminal
pnpm dlx shadcn@latest add @blocks/patient-results-pdf

Use

This is an export module, not an editing surface.
TSX
import { pdf } from "@react-pdf/renderer";
import { PatientResultsPdfDocumentFromEditor } from "@/components/blocks/patient-results-pdf";

const blob = await pdf(
  <PatientResultsPdfDocumentFromEditor
    document={editor.document}
    presetId="vns-report"
  />,
).toBlob();

Works with

Dependencies

KindPackages
Registry@blocks/patient-results-presets, @blocks/patient-results-types
Last updated on