UNPKG

rahisi

Version:

UI library for prototyping ideas for reactive programming.

10 lines (9 loc) 530 B
import { Attribute, Renderable } from "./index"; import { AllHTMLAttributes } from "./jsx"; import { F2 } from "rahisi-type-utils"; export declare class React { static createElement: (tagName: string | F2<Attribute[], Renderable[], Renderable>, attributes: AllHTMLAttributes<Element> | null, ...children: any[]) => Renderable; static getAttributes: <T = Element>(attributes: AllHTMLAttributes<T> | null) => Attribute[]; static getChildren: (children: any[]) => Renderable[]; private static appendChild; }