Skip to content

Commit

Permalink
Fix oversight in PopoverProps.anchorEl type
Browse files Browse the repository at this point in the history
Signed-off-by: eduter <emterroso@gmail.com>
  • Loading branch information
eduter authored Jan 17, 2025
1 parent 820a76c commit b1225ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mui-material/src/Popover/Popover.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ export interface PopoverProps
anchorEl?:
| null
| Element
| (() => Element)
| (() => Element | null)
| PopoverVirtualElement
| (() => PopoverVirtualElement);
| (() => PopoverVirtualElement | null);
/**
* This is the point on the anchor where the popover's
* `anchorEl` will attach to. This is not used when the
Expand Down

0 comments on commit b1225ef

Please sign in to comment.