GeneIT/geneit_app/src/widgets/AuthSingleMessage.tsx
2023-06-12 19:10:31 +02:00

14 lines
333 B
TypeScript

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>
</>
);
}