Skip to content

Commit

Permalink
Missing material base popper
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoAndai committed Oct 2, 2024
1 parent dd9c8fe commit bb9f21b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/mui-material/src/Popper/BasePopper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const useUtilityClasses = (ownerState: any) => {

const defaultPopperOptions = {};

const PopperTooltip = React.forwardRef(function PopperTooltip<
const PopperTooltip = React.forwardRef<HTMLDivElement, PopperTooltipProps>(function PopperTooltip<
RootComponentType extends React.ElementType,
>(props: PopperTooltipProps<RootComponentType>, forwardedRef: React.ForwardedRef<HTMLDivElement>) {
const {
Expand Down Expand Up @@ -239,10 +239,9 @@ const PopperTooltip = React.forwardRef(function PopperTooltip<
/**
* @ignore - internal component.
*/
const Popper = React.forwardRef(function Popper<RootComponentType extends React.ElementType>(
props: PopperProps<RootComponentType>,
forwardedRef: React.ForwardedRef<HTMLDivElement>,
) {
const Popper = React.forwardRef<HTMLDivElement, PopperProps>(function Popper<
RootComponentType extends React.ElementType,
>(props: PopperProps<RootComponentType>, forwardedRef: React.ForwardedRef<HTMLDivElement>) {
const {
anchorEl,
children,
Expand Down

0 comments on commit bb9f21b

Please sign in to comment.