Skip to content

Commit baf66f1

Browse files
Update packages/material-ui/src/Popper/Popper.d.ts
1 parent e16dc21 commit baf66f1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

+2-5
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@ export type PopperPlacementType =
1717
| 'top-start'
1818
| 'top';
1919

20-
export interface PopperProps
21-
extends Omit<
22-
React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
23-
'children'
24-
> {
20+
export interface PopperProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
21+
ref?: React.Ref<HTMLDivElement>;
2522
/**
2623
* A HTML element, [referenceObject](https://popper.js.org/docs/v1/#referenceObject),
2724
* or a function that returns either.

0 commit comments

Comments
 (0)