MCPcopy Create free account
hub / github.com/developit/htm / propsNode

Function propsNode

packages/babel-plugin-htm/index.mjs:158–160  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

156 }
157
158 function propsNode(props) {
159 return t.isNode(props) ? props : t.objectExpression(objectProperties(props));
160 }
161
162 function transform(node, state) {
163 if (t.isNode(node)) return node;

Callers 1

spreadNodeFunction · 0.85

Calls 1

objectPropertiesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…