import { Button, ButtonGroup, Popover, Typography } from "@material-ui/core"; import React from "react"; import { makeStyles } from "@material-ui/core/styles"; import { McsTheme } from "./McsWidget"; const useStyles = makeStyles(() => ({ popup: { padding: McsTheme.spacing(1), textAlign: "center", }, })); interface McsPopupProps { showPopup: boolean; onClose: () => void; title: string; handleLocationSelect: () => void; handleClose: () => void; anchorEl: null | Element | ((element: Element) => Element); } export const McsPopup: React.FC = ({ showPopup, onClose, title, handleLocationSelect, handleClose, anchorEl, }: McsPopupProps) => { const classes = useStyles(); return ( Is {title} your city? ); };