diff --git a/packages/babel-types/src/react.js b/packages/babel-types/src/react.js index a7a739de0b..80e22213b4 100644 --- a/packages/babel-types/src/react.js +++ b/packages/babel-types/src/react.js @@ -2,18 +2,10 @@ import * as t from "./index"; export var isReactComponent = t.buildMatchMemberExpression("React.Component"); -/** - * [Please add a description.] - */ - export function isCompatTag(tagName) { return tagName && /^[a-z]|\-/.test(tagName); } -/** - * [Please add a description.] - */ - function cleanJSXElementLiteralChild(child, args) { var lines = child.value.split(/\r\n|\n|\r/); @@ -59,10 +51,6 @@ function cleanJSXElementLiteralChild(child, args) { if (str) args.push(t.stringLiteral(str)); } -/** - * [Please add a description.] - */ - export function buildChildren(node) { var elems = [];