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

x/fastro/http/server/deps.ts>h

Full Stack Framework for Deno, TypeScript, Preact JS and Tailwind CSS
Go to Latest
namespace h
import { h } from "https://deno.land/x/fastro@v0.88.1/http/server/deps.ts";
function h
import { h } from "https://deno.land/x/fastro@v0.88.1/http/server/deps.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[]

Returns

VNode<ClassAttributes<T> & P>

Type Parameters

P extends JSXInternal.SVGAttributes<T>
T extends HTMLElement

Parameters

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

Returns

VNode<ClassAttributes<T> & P>

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>

Parameters

type: ComponentType<P>
props: (Attributes & P) | null
...children: ComponentChildren[]

Returns

VNode<Attributes & P>