JSXIdentifierNode
A JSX tag name that is a plain word (div, Button).
A JSX tag name that is a plain word (div, Button).
Import#
ts
import type { JSXIdentifierNode } from "@shadow-js/compiler";
Signature#
ts
interface JSXIdentifierNode extends PluginNode {
/** `"JSXIdentifier"`. */
readonly type: "JSXIdentifier";
/** The name as written; attribute names may contain dashes (`data-testid`). */
readonly name: string;
}
Members#
| Name | Type | Description |
|---|---|---|
type |
readonly type: "JSXIdentifier" |
"JSXIdentifier". |
name |
readonly name: string |
The name as written; attribute names may contain dashes (data-testid). |