frontend-hamroun
Version:
A lightweight frontend JavaScript framework with React-like syntax
18 lines • 590 B
TypeScript
import type { VNode } from './types.js';
declare function jsx(type: string | Function, props: any): VNode;
declare const Fragment: ({ children }: {
children: any;
}) => any;
declare function createElement(vnode: VNode | any): Promise<Node>;
export { jsx, jsx as jsxs, jsx as jsxDEV, Fragment, createElement };
declare const jsxRuntime: {
jsx: typeof jsx;
jsxs: typeof jsx;
jsxDEV: typeof jsx;
Fragment: ({ children }: {
children: any;
}) => any;
createElement: typeof createElement;
};
export default jsxRuntime;
//# sourceMappingURL=jsx-runtime.d.ts.map