UNPKG

dom-renderer

Version:

A light-weight DOM Renderer supports Web components standard & TypeScript language

14 lines (13 loc) 733 B
import { IndexKey } from 'web-utility'; import { DataObject, VNode, VNodeMeta } from './dist/VDOM'; /** * @see {@link https://github.com/reactjs/rfcs/blob/createlement-rfc/text/0000-create-element-changes.md} * @see {@link https://babeljs.io/docs/babel-plugin-transform-react-jsx} */ export declare function jsx(type: string | Function, { ref, is, style, children, ...props }: DataObject, key?: IndexKey): VNode; export declare const jsxs: typeof jsx; export declare const jsxDEV: typeof jsx; /** * @see {@link https://babeljs.io/docs/babel-plugin-transform-react-jsx#react-automatic-runtime-1} */ export declare const Fragment: ({ key, ref, is, style, children, ...props }: VNode["props"] & Omit<VNodeMeta, "props">) => VNode;