Skip to main content
Module

x/htm/jsx.ts>JSXNode

Create `text/html` response with JSX.
Go to Latest
class JSXNode
implements HtmlEscaped
import { JSXNode } from "https://deno.land/x/htm@0.2.1/jsx.ts";

Constructors

new
JSXNode(
tag: string | CallableFunction,
props: Props,
children: Child[],
)

Properties

children: Child[]
isEscaped: true
props: Props
tag: string | CallableFunction

Methods

toString(): string
toStringToBuffer(buffer: StringBuffer): void