diff --git a/docs/data/material/components/snackbars/CustomizedSnackbars.js b/docs/data/material/components/snackbars/CustomizedSnackbars.js
index c4e4f4f02310c2..e84404986c6812 100644
--- a/docs/data/material/components/snackbars/CustomizedSnackbars.js
+++ b/docs/data/material/components/snackbars/CustomizedSnackbars.js
@@ -1,12 +1,7 @@
import * as React from 'react';
-import Stack from '@mui/material/Stack';
import Button from '@mui/material/Button';
import Snackbar from '@mui/material/Snackbar';
-import MuiAlert from '@mui/material/Alert';
-
-const Alert = React.forwardRef(function Alert(props, ref) {
- return ;
-});
+import Alert from '@mui/material/Alert';
export default function CustomizedSnackbars() {
const [open, setOpen] = React.useState(false);
@@ -24,19 +19,18 @@ export default function CustomizedSnackbars() {
};
return (
-
-
+
+
-
- This is a success message!
+
+ This is a success Alert inside a Snackbar!
- This is an error message!
- This is a warning message!
- This is an information message!
- This is a success message!
-
+
);
}
diff --git a/docs/data/material/components/snackbars/CustomizedSnackbars.tsx.preview b/docs/data/material/components/snackbars/CustomizedSnackbars.tsx.preview
index e19f2447eb58c7..dde8fd11f41d4c 100644
--- a/docs/data/material/components/snackbars/CustomizedSnackbars.tsx.preview
+++ b/docs/data/material/components/snackbars/CustomizedSnackbars.tsx.preview
@@ -1,12 +1,11 @@
-
+
-
- This is a success message!
+
+ This is a success Alert inside a Snackbar!
-
-This is an error message!
-This is a warning message!
-This is an information message!
-This is a success message!
\ No newline at end of file
+
\ No newline at end of file
diff --git a/docs/data/material/components/snackbars/SimpleSnackbar.js b/docs/data/material/components/snackbars/SimpleSnackbar.js
index 6d537d48719328..c4d36ed5c98e61 100644
--- a/docs/data/material/components/snackbars/SimpleSnackbar.js
+++ b/docs/data/material/components/snackbars/SimpleSnackbar.js
@@ -37,7 +37,7 @@ export default function SimpleSnackbar() {
return (