@@ -31,8 +31,8 @@ export type ClassComponent<JsxElementClass, ComponentProps> = new (
31
31
/**
32
32
* Function or class component.
33
33
*
34
- * You can access props at `LocalJsx.IntrinsicElements `.
35
- * For example, to find props for `a`, use `LocalJsx.IntrinsicElements ['a']`.
34
+ * You can access props at `JsxIntrinsicElements `.
35
+ * For example, to find props for `a`, use `JsxIntrinsicElements ['a']`.
36
36
*
37
37
* @typeParam ComponentProps
38
38
* Props type.
@@ -49,12 +49,12 @@ export type ExtraProps = {node?: Element | undefined}
49
49
/**
50
50
* Possible components to use.
51
51
*
52
- * Each key is a tag name typed in `LocalJsx.IntrinsicElements `.
52
+ * Each key is a tag name typed in `JsxIntrinsicElements `.
53
53
* Each value is either a different tag name, or a component accepting the
54
54
* corresponding props (and an optional `node` prop if `passNode` is on).
55
55
*
56
- * You can access props at `LocalJsx.IntrinsicElements `.
57
- * For example, to find props for `a`, use `LocalJsx.IntrinsicElements ['a']`.
56
+ * You can access props at `JsxIntrinsicElements `.
57
+ * For example, to find props for `a`, use `JsxIntrinsicElements ['a']`.
58
58
*/
59
59
// Note: this type has to be in `.ts` or `.d.ts`, otherwise TSC hardcodes
60
60
// react into the `.d.ts` file.
0 commit comments