function getTagName(node) {
  if (
    node
    && node.parent
    && node.parent.name
  ) {
    return node.parent.name.name;
  }
  return null;
}
Extracts the tag name for the JSXAttribute
@param {JSXAttribute} node - JSXAttribute being tested.
@returns {string | null} tag name