[]previous and next page

JSXTextNode

Text between JSX tags.

Text between JSX tags.

Import#

ts
import type { JSXTextNode } from "@shadow-js/compiler";

Signature#

ts
interface JSXTextNode extends PluginNode {
  /** `"JSXText"`. */
  readonly type: "JSXText";
  /** The text with entities resolved. */
  readonly value: string;
  /** The text as written. */
  readonly raw: string;
}

Members#

Name Type Description
type readonly type: "JSXText" "JSXText".
value readonly value: string The text with entities resolved.
raw readonly raw: string The text as written.