import { Box, Typography } from "@mui/material";

export const ApologyPage = (message: string) => {
    return (
        <Box
            sx={{
                display: "flex",
                alignItems: "center",
                justifyContent: "center"
            }}
        >
            <Typography
                sx={{
                    textAlign: "center"
                }}
            >{message || "что-то пошло не так"}</Typography>
        </Box>


    )
}