Add base web UI
This commit is contained in:
13
moneymgr_web/src/widgets/AuthSingleMessage.tsx
Normal file
13
moneymgr_web/src/widgets/AuthSingleMessage.tsx
Normal file
@ -0,0 +1,13 @@
|
||||
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>Go back home</Button>
|
||||
</Link>
|
||||
</>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user