Use Grow transition instead

This commit is contained in:
powermaker450 2024-08-29 03:36:16 +00:00
parent 3dce933721
commit d9ef325044

View file

@ -1,4 +1,4 @@
import { Alert, Collapse, Rating, Typography } from "@mui/material";
import { Alert, Grow, Rating, Typography } from "@mui/material";
import "./App.css";
import ButtonRow, { ActionProps } from "./components/ButtonRow";
import ReviewField, { ReviewFieldProps } from "./components/ReviewField";
@ -108,9 +108,9 @@ function App() {
<br />
<Collapse in={showAlert}>
<Grow in={showAlert}>
{alert}
</Collapse>
</Grow>
</>
);
}