Skip to content

Commit 883014d

Browse files
committed
refactor
1 parent 299e1a5 commit 883014d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/components.d.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ export type ClassComponent<JsxElementClass, ComponentProps> = new (
3131
/**
3232
* Function or class component.
3333
*
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']`.
3636
*
3737
* @typeParam ComponentProps
3838
* Props type.
@@ -49,12 +49,12 @@ export type ExtraProps = {node?: Element | undefined}
4949
/**
5050
* Possible components to use.
5151
*
52-
* Each key is a tag name typed in `LocalJsx.IntrinsicElements`.
52+
* Each key is a tag name typed in `JsxIntrinsicElements`.
5353
* Each value is either a different tag name, or a component accepting the
5454
* corresponding props (and an optional `node` prop if `passNode` is on).
5555
*
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']`.
5858
*/
5959
// Note: this type has to be in `.ts` or `.d.ts`, otherwise TSC hardcodes
6060
// react into the `.d.ts` file.

0 commit comments

Comments
 (0)