Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetJsxPropName ¶
GetJsxPropName returns the display name of a JSX node. For JsxAttribute: returns the attribute name (including namespaced names like "foo:bar"). For JsxSpreadAttribute: returns "spread". For Identifier nodes (e.g. tag names): returns the identifier text. For unknown nodes: returns "".
func IsCreateElementCall ¶
IsCreateElementCall checks if the callee is React.createElement.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.