solid-js
Version:
A declarative JavaScript library for building user interfaces.
15 lines (14 loc) • 360 B
TypeScript
export type { JSX } from "./jsx.d.ts";
import type { JSX } from "./jsx.d.ts";
declare function Fragment(props: { children: JSX.Element }): JSX.Element;
declare function jsx(
type: any,
props: any
): () =>
| (Node & {
[key: string]: any;
})
| (Node & {
[key: string]: any;
})[];
export { jsx, jsx as jsxs, jsx as jsxDEV, Fragment };