You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[~~getClassComponentCollector~~](functions/getClassComponentCollector.md)| Get an api and visitor object for the rule to collect class components. |
139
139
|[getClassId](functions/getClassId.md)| Get the class identifier of a class node. |
140
+
|[getCreateElementChildrenArguments](functions/getCreateElementChildrenArguments.md)| Get the children arguments (the arguments after the props object) of a `createElement` call. |
141
+
|[getCreateElementProp](functions/getCreateElementProp.md)| Find a statically named property in the props object of a `createElement` call. |
142
+
|[getCreateElementPropsObject](functions/getCreateElementPropsObject.md)| Get the props object (the second argument) of a `createElement` call. |
143
+
|[getCreateElementTypeArgument](functions/getCreateElementTypeArgument.md)| Get the type argument (the first argument) of a `createElement` call. |
140
144
|[getFullyQualifiedNameEx](functions/getFullyQualifiedNameEx.md)| Get the fully qualified name of a symbol, handling cases that `ts.TypeChecker.getFullyQualifiedName` does not handle (ex: `export as namespace preact`). |
141
145
|[getFunctionComponentCollector](functions/getFunctionComponentCollector.md)| Get an api and visitor object for the rule to collect function components. |
142
146
|[getFunctionDirectives](functions/getFunctionDirectives.md)| Get the directives of a function (ex: "use strict", "use client", "use server"). |
@@ -151,6 +155,7 @@
151
155
|[~~isAssignmentToThisState~~](functions/isAssignmentToThisState.md)| Check if the assignment expression assigns to `this.state`. |
152
156
|[isBooleanLiteralType](functions/isBooleanLiteralType.md)| Check if the type is a boolean literal type. |
153
157
|[isClassComponent](functions/isClassComponent.md)| Check if the node is a class component (extends `Component` or `PureComponent`). |
158
+
|[isCreateElementChildrenArgument](functions/isCreateElementChildrenArgument.md)| Check if the node is passed as a children argument (the third argument or later) of a `createElement` call. |
154
159
|[isFunctionComponentDefinition](functions/isFunctionComponentDefinition.md)| Check if the function node is a valid React component definition. |
155
160
|[isFunctionComponentName](functions/isFunctionComponentName.md)| Check if a string matches the strict component name pattern. |
156
161
|[isFunctionComponentNameLoose](functions/isFunctionComponentNameLoose.md)| Check if a string matches the loose component name pattern. |
@@ -165,6 +170,7 @@
165
170
|[isHookId](functions/isHookId.md)| Checks if the given node is a hook identifier. |
166
171
|[isHookName](functions/isHookName.md)| Check if the name is a hook name (starts with `use` followed by an uppercase letter or digit). |
167
172
|[isHookTag](functions/isHookTag.md)| Checks if the given expression is a hook tag (callee / tagged template tag). |
173
+
|[isInsideCreateElementProps](functions/isInsideCreateElementProps.md)| Check if the node is inside the props object (the second argument) of a `createElement` call. |
168
174
|[isJsxLike](functions/isJsxLike.md)| Check if the node represents JSX-like content based on heuristics. |
169
175
|[~~isPureComponent~~](functions/isPureComponent.md)| Check if the node is a pure component (extends `PureComponent`). |
170
176
|[isRenderMethodCallback](functions/isRenderMethodCallback.md)| Check if the function is a callback passed to a class component's render method. |
0 commit comments