Skip to main content
Module

x/xml_renderer/mod.ts

An npm/browser module for easy matching XML and XPath to React Components and other stuff
Go to Latest
import * as xmlRenderer from "https://deno.land/x/xml_renderer@5.0.6/mod.ts";

Type Aliases

When creating an element rendering rule, an XPath test is matched to a Component. The rule component is expected to return null or a AstComponent -- which represents a node in the DOCX AST.

The single function that calls a given Component with Props to get its output.

The props/parameters passed into a rule component by the renderer.