woby
Version:
A high-performance framework with fine-grained observable/signal-based reactivity for building rich applications.
18 lines • 808 B
TypeScript
import '../types';
import './types';
import Fragment from '../components/fragment';
import type { Child, Component, Element } from '../types';
import { CloneableType } from '../index';
declare function jsx<P extends {} = {}>(component: Component<P>, props?: P, ...children: Child[]): Element;
declare function jsx<P extends {} = {
key?: string;
children?: Child;
}>(component: Component<P>, props?: P, key?: string): Element;
declare const jsxDEV: <P extends {} = {}>(component: Component<P>, props: P | null, key: string, isStatic: boolean, source: {
fileName: string;
lineNumber: number;
columnNumber: number;
}, self: any) => Element;
export declare const getMeta: (target: Element) => CloneableType;
export { jsx, jsx as jsxs, jsxDEV, Fragment };
//# sourceMappingURL=runtime.d.ts.map