From 19579f69da955b33b5c24efa484545fc3b0da964 Mon Sep 17 00:00:00 2001 From: Mayank <9084735+mayank99@users.noreply.github.com> Date: Thu, 4 Jun 2026 14:17:13 -0400 Subject: [PATCH 1/2] [docs] update Tooltip "disabled elements" section --- .../components/tooltips/DisabledTooltips.js | 4 +--- .../components/tooltips/DisabledTooltips.tsx | 4 +--- .../tooltips/DisabledTooltips.tsx.preview | 4 +--- .../material/components/tooltips/tooltips.md | 20 ++++--------------- 4 files changed, 7 insertions(+), 25 deletions(-) diff --git a/docs/data/material/components/tooltips/DisabledTooltips.js b/docs/data/material/components/tooltips/DisabledTooltips.js index a00764ef2a437e..079f64a57776e4 100644 --- a/docs/data/material/components/tooltips/DisabledTooltips.js +++ b/docs/data/material/components/tooltips/DisabledTooltips.js @@ -4,9 +4,7 @@ import Tooltip from '@mui/material/Tooltip'; export default function DisabledTooltips() { return ( - - - + ); } diff --git a/docs/data/material/components/tooltips/DisabledTooltips.tsx b/docs/data/material/components/tooltips/DisabledTooltips.tsx index a00764ef2a437e..079f64a57776e4 100644 --- a/docs/data/material/components/tooltips/DisabledTooltips.tsx +++ b/docs/data/material/components/tooltips/DisabledTooltips.tsx @@ -4,9 +4,7 @@ import Tooltip from '@mui/material/Tooltip'; export default function DisabledTooltips() { return ( - - - + ); } diff --git a/docs/data/material/components/tooltips/DisabledTooltips.tsx.preview b/docs/data/material/components/tooltips/DisabledTooltips.tsx.preview index f83193be661f3d..dc8734eda15347 100644 --- a/docs/data/material/components/tooltips/DisabledTooltips.tsx.preview +++ b/docs/data/material/components/tooltips/DisabledTooltips.tsx.preview @@ -1,5 +1,3 @@ - - - + \ No newline at end of file diff --git a/docs/data/material/components/tooltips/tooltips.md b/docs/data/material/components/tooltips/tooltips.md index 42dc76cfee6928..1f20a6f1515cc6 100644 --- a/docs/data/material/components/tooltips/tooltips.md +++ b/docs/data/material/components/tooltips/tooltips.md @@ -147,27 +147,15 @@ You can disable this behavior (thus failing the success criterion which is requi ## Disabled elements -By default disabled elements like ` - - -``` +By default, disabled elements like ` + ); } diff --git a/docs/data/material/components/tooltips/DisabledTooltips.tsx b/docs/data/material/components/tooltips/DisabledTooltips.tsx index 079f64a57776e4..d4d6edf6c6fae4 100644 --- a/docs/data/material/components/tooltips/DisabledTooltips.tsx +++ b/docs/data/material/components/tooltips/DisabledTooltips.tsx @@ -4,7 +4,9 @@ import Tooltip from '@mui/material/Tooltip'; export default function DisabledTooltips() { return ( - + ); } diff --git a/docs/data/material/components/tooltips/DisabledTooltips.tsx.preview b/docs/data/material/components/tooltips/DisabledTooltips.tsx.preview index dc8734eda15347..9253da1e600e21 100644 --- a/docs/data/material/components/tooltips/DisabledTooltips.tsx.preview +++ b/docs/data/material/components/tooltips/DisabledTooltips.tsx.preview @@ -1,3 +1,5 @@ - + \ No newline at end of file diff --git a/docs/data/material/components/tooltips/tooltips.md b/docs/data/material/components/tooltips/tooltips.md index 1f20a6f1515cc6..f07d3a1611b1ee 100644 --- a/docs/data/material/components/tooltips/tooltips.md +++ b/docs/data/material/components/tooltips/tooltips.md @@ -152,9 +152,7 @@ When wrapping a Material UI component that inherits from `ButtonBase`, you shou {{"demo": "DisabledTooltips.js"}} :::warning - By default, disabled elements like `