summaryrefslogtreecommitdiff
path: root/src/components/GuestLogin.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/GuestLogin.tsx')
-rw-r--r--src/components/GuestLogin.tsx18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/components/GuestLogin.tsx b/src/components/GuestLogin.tsx
new file mode 100644
index 0000000..5637276
--- /dev/null
+++ b/src/components/GuestLogin.tsx
@@ -0,0 +1,18 @@
+import Button from '@mui/material/Button';
+import Paper from '@mui/material/Paper';
+import Typography from '@mui/material/Typography';
+
+function GuestLogin({ loggedIn, setLoggedIn }) {
+ return (
+ <Paper>
+ <Typography variant="h6">
+ Enter your name to RSVP
+ </Typography>
+ <Button onClick={() => setLoggedIn(!loggedIn)} variant="contained">
+ Login
+ </Button>
+ </Paper>
+ )
+}
+
+export default GuestLogin;