MCPcopy Create free account
hub / github.com/babel/babel / JSXAttribute

Function JSXAttribute

packages/babel-plugin-transform-react-jsx/src/create-plugin.ts:365–369  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

363 },
364
365 JSXAttribute(path) {
366 if (t.isJSXElement(path.node.value)) {
367 path.node.value = t.jsxExpressionContainer(path.node.value);
368 }
369 },
370 },
371 };
372

Callers

nothing calls this directly

Calls 1

isJSXElementMethod · 0.80

Tested by

no test coverage detected