{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "docx-editor-block",
  "title": "DOCX Editor",
  "description": "A full DOCX editor block with a Word-style toolbar, page thumbnails, and export controls.",
  "registryDependencies": [
    "@extend/docx-editor"
  ],
  "files": [
    {
      "path": "registry/new-york-v4/blocks/docx-editor.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { DocxEditorPreview } from \"@/components/extend/docx-editor\"\n\nexport function DocxEditorBlock({ file }: { file?: string }) {\n  const [isDark, setIsDark] = React.useState(false)\n  return (\n    <div className=\"h-full min-h-0 bg-background\">\n      <DocxEditorPreview\n        src={file ?? \"/samples/demo.docx\"}\n        isDark={isDark}\n        onIsDarkChange={setIsDark}\n      />\n    </div>\n  )\n}\n",
      "type": "registry:component",
      "target": "@components/blocks/docx-editor.tsx"
    }
  ],
  "categories": [
    "documents",
    "blocks"
  ],
  "type": "registry:block",
  "dependencies": []
}
