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

x/netzo/deps/preact.ts>h

Deno-powered framework for building business web apps
Go to Latest
namespace h
import { h } from "https://deno.land/x/netzo@0.3.91/deps/preact.ts";
function h
import { h } from "https://deno.land/x/netzo@0.3.91/deps/preact.ts";

Parameters

type: "input"
props: (JSXInternal.DOMAttributes<HTMLInputElement> & ClassAttributes<HTMLInputElement>) | null
...children: ComponentChildren[]

Returns

VNode<JSXInternal.DOMAttributes<HTMLInputElement> & ClassAttributes<HTMLInputElement>>

Type Parameters

P extends JSXInternal.HTMLAttributes<T>
T extends HTMLElement

Parameters

type: keyof JSXInternal.IntrinsicElements
props: (ClassAttributes<T> & P) | null
...children: ComponentChildren[]

Type Parameters

P extends JSXInternal.SVGAttributes<T>
T extends HTMLElement

Parameters

type: keyof JSXInternal.IntrinsicElements
props: (ClassAttributes<T> & P) | null
...children: ComponentChildren[]

Type Parameters

T extends HTMLElement

Parameters

type: string
props: (ClassAttributes<T> & JSXInternal.HTMLAttributes & JSXInternal.SVGAttributes) | null
...children: ComponentChildren[]

Returns

VNode<(ClassAttributes<T> & JSXInternal.HTMLAttributes & JSXInternal.SVGAttributes) | null>