UNPKG

zwapp

Version:

前端框架-学习

17 lines (16 loc) 652 B
import { h } from "./h"; import { Fragment } from "./fragment"; export { FRAGMENT_NODE } from "./data"; import { render } from "./render"; import type { VNode, Props, Component, FragmentProps } from "./types"; import { FragmentType, HTMLAttributes, VNodeChildren } from "./types"; export { h, Fragment, render }; export type { VNode, Props, Component, FragmentProps }; export type { FragmentType, HTMLAttributes, VNodeChildren }; declare const zwapp: { version: string; h: (type: import("./types").VNodeType, props?: Props, ...children: VNodeChildren[]) => VNode; Fragment: FragmentType; render: typeof render; }; export default zwapp;