VirtWeb/virtweb_frontend/src/widgets/AuthSingleMessage.tsx

14 lines
333 B
TypeScript
Raw Normal View History

2023-09-04 12:11:56 +00:00
import { Button } from "@mui/material";
import { Link } from "react-router-dom";
export function AuthSingleMessage(p: { message: string }): React.ReactElement {
return (
<>
<p style={{ textAlign: "center" }}>{p.message}</p>
<Link to={"/"}>
<Button>Retour à l'accueil</Button>
</Link>
</>
);
}