From 876658763c2eb8b3f146d2e78ae2f64837213407 Mon Sep 17 00:00:00 2001 From: Harry Whorlow Date: Tue, 19 Mar 2024 17:04:07 +0100 Subject: [PATCH] migration guide --- .../migrating-from-deprecated-apis.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/data/material/migration/migrating-from-deprecated-apis/migrating-from-deprecated-apis.md b/docs/data/material/migration/migrating-from-deprecated-apis/migrating-from-deprecated-apis.md index 628c7b497c9cc4..bcff49e04b9298 100644 --- a/docs/data/material/migration/migrating-from-deprecated-apis/migrating-from-deprecated-apis.md +++ b/docs/data/material/migration/migrating-from-deprecated-apis/migrating-from-deprecated-apis.md @@ -905,3 +905,22 @@ The Slider's `componentsProps` was deprecated in favor of `slotProps`: + slotProps={{ track: { testid: 'test-id' } }} /> ``` + +## Backdrop + +Use the [codemod](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod#backdrop-props) below to migrate the code as described in the following sections: + +```bash +npx @mui/codemod@latest deprecations/backdrop-props +``` + +### components + +The backdrop's `TransitionComponent` was deprecated in favor of `slots`: + +```diff + +```