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
Go to Latest
class Renderer
extends Registry<MetadataGeneric>
import { Renderer } from "https://deno.land/x/xml_renderer@5.0.7/mod.ts";

Constructors

new
Renderer(factory: Factory<OutputGeneric, PropsGeneric, MetadataGeneric>, ...sets: Registry<MetadataGeneric>[])

Type Parameters

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

Methods

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