UNPKG

start-dom-jsx

Version:

A simple way to use tsx syntax to create native dom elements using document.createElement.

4 lines (3 loc) 291 B
import type { JSX, ComponentChild, ComponentFactory, ComponentAttributes } from './type'; export declare const xlinkNS = "http://www.w3.org/1999/xlink"; export declare function h(tag: string | ComponentFactory, attrs: null | ComponentAttributes, ...children: ComponentChild[]): JSX.Element;