Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Popper] Fix outdated typescript props docs #20465

Merged
merged 1 commit into from
Apr 8, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions packages/material-ui/src/Popper/Popper.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ export interface PopperProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
* The return value will passed as the reference object of the Popper
* instance.
*
* The reference element should be an HTML Element instance or a referenceObject:
* https://popper.js.org/popper-documentation.html#referenceObject.
* The reference element should be an HTML Element instance or a [referenceObject](https://popper.js.org/docs/v1/#referenceObject).
*/
anchorEl?: null | ReferenceObject | (() => ReferenceObject);
/**
Expand Down Expand Up @@ -65,7 +64,7 @@ export interface PopperProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
* A modifier is a function that is called each time Popper.js needs to
* compute the position of the popper.
* For this reason, modifiers should be very performant to avoid bottlenecks.
* 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).
* To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v1/#modifiers).
*/
modifiers?: object;
/**
Expand All @@ -77,7 +76,7 @@ export interface PopperProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
*/
placement?: PopperPlacementType;
/**
* Options provided to the [`popper.js`](https://github.com/FezVrasta/popper.js) instance.
* Options provided to the [`popper.js`](https://popper.js.org/docs/v1/) instance.
*/
popperOptions?: object;
/**
Expand Down