Use Grow transition instead
This commit is contained in:
parent
3dce933721
commit
d9ef325044
|
@ -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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue