source:
imaps-frontend/node_modules/jsx-ast-utils/src/values/JSXText.js
Last change on this file was d565449, checked in by , 4 weeks ago | |
---|---|
|
|
File size: 194 bytes |
Rev | Line | |
---|---|---|
[d565449] | 1 | /** |
2 | * Extractor function for a JSXText type value node. | |
3 | * | |
4 | * Returns self-closing element with correct name. | |
5 | */ | |
6 | export default function extractValueFromJSXText(value) { | |
7 | return value.raw; | |
8 | } |
Note:
See TracBrowser
for help on using the repository browser.