GeneIT/geneit_app/src/widgets/AuthSingleMessage.tsx

14 lines
333 B
TypeScript
Raw Normal View History

2023-06-12 17:10:31 +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>
</>
);
}