rvx
Version:
A signal based rendering library
20 lines (19 loc) • 649 B
TypeScript
import type { Attributes, TagNameMap } from "../element-common.js";
import { Content } from "../types.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): Content;
export declare const jsxs: typeof jsx;
export declare const jsxDEV: typeof jsx;