UNPKG

rvx

Version:

A signal based rendering library

19 lines (18 loc) 610 B
import type { Attributes, TagNameMap } from "../element-common.js"; export { Fragment } from "./fragment.js"; type NativeElement = Element; export declare namespace JSX { type IntrinsicElements = { [K in keyof TagNameMap]: Attributes<TagNameMap[K]>; } & { [K in string]: Attributes<NativeElement>; }; interface ElementChildrenAttribute { children: {}; } type Element = unknown; type ElementClass = never; } export declare function jsx(type: any, props: any, key: any): unknown; export declare const jsxs: typeof jsx; export declare const jsxDEV: typeof jsx;