MCPcopy
hub / github.com/xaboy/form-create / make

Function make

packages/core/src/factory/node.js:40–42  ·  view source on GitHub ↗
(tag, data, children)

Source from the content-addressed store, hash-verified

38
39 extend(CreateNode.prototype, {
40 make(tag, data, children) {
41 return makeDirective(data, this.h(tag, toProps(data), children));
42 },
43 makeComponent(type, data, children) {
44 try {
45 return makeDirective(data, createVNode(type, toProps(data), children));

Callers

nothing calls this directly

Calls 2

toPropsFunction · 0.90
makeDirectiveFunction · 0.85

Tested by

no test coverage detected