src/transformer.js
function getElementTag(node) {
        if (node.openingElement && t.isJSXIdentifier(node.openingElement.name)) {
            return node.openingElement.name.name;
        } else {
            error(node.openingElement, "Unable to parse opening tag.");
        }
    }
function getElementTag(node) {
        if (node.openingElement && t.isJSXIdentifier(node.openingElement.name)) {
            return node.openingElement.name.name;
        } else {
            error(node.openingElement, "Unable to parse opening tag.");
        }
    }
function getElementTag ( node ) { if ( node . openingElement && t . isJSXIdentifier ( node . openingElement . name ) ) { return node . openingElement . name . name ; } else { error ( node . openingElement , "Unable to parse opening tag." ) ; } }
Retrieve the tag string for an element node.
Retrieve the tag string for an element node .