21 lines
498 B
TypeScript
21 lines
498 B
TypeScript
|
import { Box, Typography } from "@mui/material";
|
||
|
|
||
|
export const ApologyPage = ({message}:{message: string}) => {
|
||
|
return (
|
||
|
<Box
|
||
|
sx={{
|
||
|
display: "flex",
|
||
|
alignItems: "center",
|
||
|
justifyContent: "center"
|
||
|
}}
|
||
|
>
|
||
|
<Typography
|
||
|
sx={{
|
||
|
textAlign: "center"
|
||
|
}}
|
||
|
>{message || "что-то пошло не так"}</Typography>
|
||
|
</Box>
|
||
|
|
||
|
|
||
|
)
|
||
|
}
|