interface JSXElement {
    children: (JSXElement | JSXExpressionContainer | JSXFragment | JSXSpreadChild | JSXText)[];
    closingElement?: null | JSXClosingElement;
    end?: null | number;
    extra?: Record<string, unknown>;
    innerComments?: null | Comment[];
    leadingComments?: null | Comment[];
    loc?: null | SourceLocation;
    openingElement: JSXOpeningElement;
    range?: [number, number];
    selfClosing?: null | boolean;
    start?: null | number;
    trailingComments?: null | Comment[];
    type: "JSXElement";
}

Hierarchy (view full)

Properties

closingElement?: null | JSXClosingElement
end?: null | number
extra?: Record<string, unknown>
innerComments?: null | Comment[]
leadingComments?: null | Comment[]
loc?: null | SourceLocation
openingElement: JSXOpeningElement
range?: [number, number]
selfClosing?: null | boolean
start?: null | number
trailingComments?: null | Comment[]
type: "JSXElement"