Skip to content

Commit be264e7

Browse files
authored
[Popper] Fix outdated typescript props docs (#20465)
1 parent ff9efcd commit be264e7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/material-ui/src/Popper/Popper.d.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ export interface PopperProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
2323
* The return value will passed as the reference object of the Popper
2424
* instance.
2525
*
26-
* The reference element should be an HTML Element instance or a referenceObject:
27-
* https://popper.js.org/popper-documentation.html#referenceObject.
26+
* The reference element should be an HTML Element instance or a [referenceObject](https://popper.js.org/docs/v1/#referenceObject).
2827
*/
2928
anchorEl?: null | ReferenceObject | (() => ReferenceObject);
3029
/**
@@ -65,7 +64,7 @@ export interface PopperProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
6564
* A modifier is a function that is called each time Popper.js needs to
6665
* compute the position of the popper.
6766
* For this reason, modifiers should be very performant to avoid bottlenecks.
68-
* To learn how to create a modifier, [read the modifiers documentation](https://github.com/FezVrasta/popper.js/blob/master/docs/_includes/popper-documentation.md#modifiers--object).
67+
* To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v1/#modifiers).
6968
*/
7069
modifiers?: object;
7170
/**
@@ -77,7 +76,7 @@ export interface PopperProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
7776
*/
7877
placement?: PopperPlacementType;
7978
/**
80-
* Options provided to the [`popper.js`](https://github.com/FezVrasta/popper.js) instance.
79+
* Options provided to the [`popper.js`](https://popper.js.org/docs/v1/) instance.
8180
*/
8281
popperOptions?: object;
8382
/**

0 commit comments

Comments
 (0)