source: imaps-frontend/node_modules/jsx-ast-utils/lib/values/JSXText.js

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 301 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = extractValueFromJSXText;
7/**
8 * Extractor function for a JSXText type value node.
9 *
10 * Returns self-closing element with correct name.
11 */
12function extractValueFromJSXText(value) {
13 return value.raw;
14}
Note: See TracBrowser for help on using the repository browser.