Skip to content

Commit

Permalink
[Popper] Add ref type definition (#20688)
Browse files Browse the repository at this point in the history
  • Loading branch information
takakobem committed Apr 22, 2020
1 parent 4359f85 commit 1625d27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/material-ui/src/Popper/Popper.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export type PopperPlacementType =
| 'top';

export interface PopperProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
ref?: React.Ref<HTMLDivElement>;
/**
* A HTML element, [referenceObject](https://popper.js.org/docs/v1/#referenceObject),
* or a function that returns either.
Expand Down

0 comments on commit 1625d27

Please sign in to comment.