docs
evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
Build a helper that returns the names of JSX attributes from a parsed AST node, preserving namespace prefixes when they exist.
<svg:path focusable="false" xlink:href="#icon" />, the helper returns ["focusable", "xlink:href"] in source order. @testxml:lang stays exactly that). @testattributes array are ignored without throwing or adding placeholders to the result. @testexport function extractAttributeNames(
node: JSXOpeningElement,
): string[];Utilities for inspecting JSX AST nodes and reading attribute names with namespace support.