diff --git a/packages/mui-material/src/Tooltip/Tooltip.js b/packages/mui-material/src/Tooltip/Tooltip.js index 289bf8a0a47f07..c7479ac52142d8 100644 --- a/packages/mui-material/src/Tooltip/Tooltip.js +++ b/packages/mui-material/src/Tooltip/Tooltip.js @@ -386,7 +386,7 @@ const Tooltip = React.forwardRef(function Tooltip(inProps, ref) { title !== '' && childNode.tagName.toLowerCase() === 'button' ) { - console.error( + console.warn( [ 'MUI: You are providing a disabled `button` child to the Tooltip component.', 'A disabled element does not fire events.', diff --git a/packages/mui-material/src/Tooltip/Tooltip.test.js b/packages/mui-material/src/Tooltip/Tooltip.test.js index 4092e11be4b885..7b889f38b583b0 100644 --- a/packages/mui-material/src/Tooltip/Tooltip.test.js +++ b/packages/mui-material/src/Tooltip/Tooltip.test.js @@ -706,7 +706,7 @@ describe('', () => { , ); - }).toErrorDev('MUI: You are providing a disabled `button` child to the Tooltip component'); + }).toWarnDev('MUI: You are providing a disabled `button` child to the Tooltip component'); }); it('should not raise a warning when we are controlled', () => {