{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "pdf-editor-block",
  "title": "PDF Editor",
  "description": "A full PDF editor block with annotation, redaction, form, signature, stamp, page organization, security, print, and export tools.",
  "registryDependencies": [
    "@extend/pdf-editor",
    "@extend/pdf-editor-core"
  ],
  "files": [
    {
      "path": "registry/new-york-v4/blocks/pdf-editor-block.tsx",
      "content": "\"use client\"\n\nimport { PDFEditor, type PdfEditorMode } from \"@/components/extend/pdf-editor\"\n\nexport function PdfEditorBlock({\n  file,\n  fileName,\n  defaultMode = \"annotate\",\n}: {\n  file?: string\n  fileName?: string\n  defaultMode?: PdfEditorMode\n}) {\n  return (\n    <div className=\"h-full min-h-0 bg-background\">\n      <PDFEditor\n        src={file ?? \"/samples/attention.pdf\"}\n        fileName={fileName}\n        className=\"h-full\"\n        defaultZoom=\"fit-width\"\n        defaultMode={defaultMode}\n        annotationAuthor=\"Reviewer\"\n      />\n    </div>\n  )\n}\n",
      "type": "registry:component",
      "target": "@components/blocks/pdf-editor-block.tsx"
    }
  ],
  "categories": [
    "documents",
    "blocks"
  ],
  "type": "registry:block",
  "dependencies": []
}
