Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/docxml/mod.ts>HeaderXml.fromJsx

TypeScript (component) library for building and parsing a DOCX file
Latest
method HeaderXml.fromJsx
import { HeaderXml } from "https://deno.land/x/docxml@5.15.3/mod.ts";

Create a new DOCX with contents composed by this library's components. Needs a single JSX component as root, for example <Section> or <Paragragh>.

Parameters

location: string
roots: HeaderFooterRoot<HeaderFooterChild | WatermarkText>