Initial commit
This commit is contained in:
14
frontend/webapp/node_modules/jsx-ast-utils/lib/values/JSXText.js
generated
vendored
Normal file
14
frontend/webapp/node_modules/jsx-ast-utils/lib/values/JSXText.js
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = extractValueFromJSXText;
|
||||
/**
|
||||
* Extractor function for a JSXText type value node.
|
||||
*
|
||||
* Returns self-closing element with correct name.
|
||||
*/
|
||||
function extractValueFromJSXText(value) {
|
||||
return value.raw;
|
||||
}
|
||||
Reference in New Issue
Block a user