import React, { Fragment } from "react"; import { Dialog, Transition } from "@headlessui/react"; import { QuestionMarkCircleIcon } from "@heroicons/react/24/outline"; type Props = { open: boolean; setOpen: (open: boolean) => void; onConfirm: () => void; }; const ConfirmSignOutModal: React.FC = ({ open, setOpen, onConfirm }) => { const onLogOutClick = () => { onConfirm(); setOpen(false); }; return (
Log out

Are you want to logout?

); }; export default React.memo(ConfirmSignOutModal);