stb-react
Version:
享受 preact 在 epg 平台的极速开发体验!
10 lines (9 loc) • 424 B
text/typescript
/**
* Virtual DOM Node
* @typedef VNode
* @property {string | function} nodeName The string of the DOM node to create or Component constructor to render
* @property {Array<VNode | string>} children The children of node
* @property {string | number | undefined} key The key used to identify this VNode in a list
* @property {object} attributes The properties of this VNode
*/
export const VNode = function VNode() {};