boa-vdom
Version:
A virtual dom library for b-o-a
13 lines (12 loc) • 356 B
TypeScript
import { VDOM } from './vdom';
export declare type Properties = {
[x: string]: any;
};
export interface Create {
(name: string): VDOM;
(name: string, properties: Properties): VDOM;
(name: string, children: VDOM[]): VDOM;
(name: string, properties: Properties, children: VDOM[]): VDOM;
}
declare const create: Create;
export { create };