@teleporthq/teleport-plugin-react-base-component
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -50,3 +50,3 @@ "use strict"; | ||
} | ||
else if (childTag.type === 'JSXExpressionContainer') { | ||
else if (childTag.type === 'JSXExpressionContainer' || childTag.type === 'JSXElement') { | ||
ast_jsx_utils_1.addChildJSXTag(elementTag, childTag); | ||
@@ -53,0 +53,0 @@ } |
{ | ||
"name": "@teleporthq/teleport-plugin-react-base-component", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "A plugin for handling the skeleton/baseline of a React component", | ||
@@ -29,3 +29,3 @@ "author": "teleportHQ", | ||
}, | ||
"gitHead": "7c289105c6f0d9d0d44b57be86dac08f6663f2cc" | ||
"gitHead": "7985998cf94f97c5b61cc61416c5a22fca50abbc" | ||
} |
@@ -78,3 +78,3 @@ import * as types from '@babel/types' | ||
addChildJSXText(elementTag, childTag) | ||
} else if (childTag.type === 'JSXExpressionContainer') { | ||
} else if (childTag.type === 'JSXExpressionContainer' || childTag.type === 'JSXElement') { | ||
addChildJSXTag(elementTag, childTag) | ||
@@ -81,0 +81,0 @@ } else { |
Sorry, the diff of this file is not supported yet
69574
22
1208