Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/xml_renderer/mod.ts>Renderer

An npm/browser module for easy matching XML and XPath to React Components and other stuff
Latest
class Renderer
extends Registry<MetadataGeneric>
import { Renderer } from "https://deno.land/x/xml_renderer@6.0.1/mod.ts";

Constructors

new
Renderer(factory: Factory<OutputGeneric, PropsGeneric, MetadataGeneric>, options?: Partial<Options>)

Type Parameters

OutputGeneric
optional
PropsGeneric extends { [key: string]: unknown; } | undefined = undefined
optional
MetadataGeneric = Component<OutputGeneric, PropsGeneric>

Methods

render(node: Node, additionalProps: PropsGeneric): OutputGeneric | null