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;
