JSXElement.js 230 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 /** * Extractor function for a JSXElement type value node. * * Returns self-closing element with correct name. */ export default function extractValueFromJSXElement(value) { return `<${value.openingElement.name.name} />`; }