Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Feb 25, 2021
1 parent 41666f2 commit 949065e
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions packages/material-ui/src/Tooltip/Tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function composeEventHandler(handler, eventHandler) {
}

const Tooltip = React.forwardRef(function Tooltip(inProps, ref) {
const props = useThemeProps({ props: inProps, name: 'MuiTooltip' });
const { theme, isRtl, ...props } = useThemeProps({ props: inProps, name: 'MuiTooltip' });
const {
arrow = false,
children,
Expand All @@ -242,10 +242,6 @@ const Tooltip = React.forwardRef(function Tooltip(inProps, ref) {
title,
TransitionComponent = Grow,
TransitionProps,
/* eslint-disable-next-line react/prop-types */
isRtl,
/* eslint-disable-next-line react/prop-types */
theme,
...other
} = props;

Expand Down Expand Up @@ -682,10 +678,6 @@ Tooltip.propTypes = {
* Override or extend the styles applied to the component.
*/
classes: PropTypes.object,
/**
* @ignore
*/
className: PropTypes.string,
/**
* Set to `true` if the `title` acts as an accessible description.
* By default the `title` acts as an accessible label for the child.
Expand Down

0 comments on commit 949065e

Please sign in to comment.