source:
frontend/node_modules/jsx-ast-utils/src/values/JSXText.js
| Last change on this file was 9af201e, checked in by , 12 days ago | |
|---|---|
|
|
| File size: 194 bytes | |
| Rev | Line | |
|---|---|---|
| [9af201e] | 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.
