fractal-core
Version:
A minimalist and well crafted app, content or component is our conviction
10 lines (9 loc) • 555 B
TypeScript
import { VNode as _VNode, VNodeData } from './vnode';
export declare type VNode = _VNode;
export declare function h(sel: string): VNode;
export declare function h(sel: string, data: VNodeData): VNode;
export declare function h(sel: string, text: string): VNode;
export declare function h(sel: string, data: VNodeData, text: string): VNode;
export declare function h(sel: string, data: VNodeData, children: Array<VNode | undefined | null>): VNode;
export declare function h(sel: string, children: Array<VNode | undefined | null>): VNode;
export default h;