From baf66f1f3eb44e111bfb686842819e5420b98282 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Wed, 22 Apr 2020 19:36:46 +0200 Subject: [PATCH] Update packages/material-ui/src/Popper/Popper.d.ts --- packages/material-ui/src/Popper/Popper.d.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/material-ui/src/Popper/Popper.d.ts b/packages/material-ui/src/Popper/Popper.d.ts index 005e1a57c38011..f2a8412256a821 100644 --- a/packages/material-ui/src/Popper/Popper.d.ts +++ b/packages/material-ui/src/Popper/Popper.d.ts @@ -17,11 +17,8 @@ export type PopperPlacementType = | 'top-start' | 'top'; -export interface PopperProps - extends Omit< - React.DetailedHTMLProps, HTMLDivElement>, - 'children' - > { +export interface PopperProps extends Omit, 'children'> { + ref?: React.Ref; /** * A HTML element, [referenceObject](https://popper.js.org/docs/v1/#referenceObject), * or a function that returns either.